Add initial/basic support for "simple" mobile grid filter w/ radio buttons
so far only one such filter is (presumably?) supported..etc.
This commit is contained in:
parent
9da7ba21bf
commit
f47157102c
10 changed files with 104 additions and 19 deletions
|
@ -34,3 +34,8 @@
|
|||
font-weight: bold;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
/* make sure space comes between simple filter and "grid" list */
|
||||
.simple-filter {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
|
|
@ -69,6 +69,12 @@ $(document).on('pageshow', function() {
|
|||
});
|
||||
|
||||
|
||||
// handle radio button value change for "simple" grid filter
|
||||
$(document).on('change', '.simple-filter .ui-radio', function() {
|
||||
$(this).parents('form:first').submit();
|
||||
});
|
||||
|
||||
|
||||
// vendor validation for new purchasing batch
|
||||
$(document).on('click', 'form[name="new-purchasing-batch"] input[type="submit"]', function() {
|
||||
var $form = $(this).parents('form');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue