Fixed articles module.
This commit is contained in:
parent
f30e57dd49
commit
fc1c173718
14 changed files with 124 additions and 147 deletions
|
|
@ -46,8 +46,10 @@ $(function() {
|
|||
// Submit form when changing a select menu.
|
||||
$('form[data-submit-onchange] select').live('change', function() {
|
||||
var confirmMessage = $(this).children(':selected').data('confirm');
|
||||
if (confirmMessage && confirm(confirmMessage)) {
|
||||
$(this).parents('form').submit();
|
||||
if (confirmMessage) {
|
||||
if (confirm(confirmMessage)) {
|
||||
$(this).parents('form').submit();
|
||||
}
|
||||
} else {
|
||||
$(this).parents('form').submit();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -154,3 +154,21 @@ tr.order-article .article-info {
|
|||
tr.order-article:hover .article-info {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
// ********* Articles
|
||||
|
||||
tr.just-updated {
|
||||
color: #468847;
|
||||
}
|
||||
|
||||
tr.unavailable {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
// articles edit all
|
||||
.field_with_errors {
|
||||
input, select {
|
||||
border-color: red;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue