FEATURE: add page ordering
This commit is contained in:
@@ -386,9 +386,9 @@ $ (document).ready (function () {
|
||||
|
||||
$ ('#confirm-button').attr ('href', href);
|
||||
} else if (tag === 'BUTTON') {
|
||||
var form = $(this).closest('form');
|
||||
var form = $ (this).closest ('form');
|
||||
$ ('#confirm-button').click (function () {
|
||||
form.submit();
|
||||
form.submit ();
|
||||
})
|
||||
}
|
||||
|
||||
@@ -461,4 +461,12 @@ $ ('.checkbox').change (function () {
|
||||
var parent = e.data ('parent');
|
||||
$ ('#checkbox-parent-' + parent).prop ('checked', true);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$ ('.has-subpages').click (function (e) {
|
||||
if (!$ (e.target).is ("div"))
|
||||
return;
|
||||
|
||||
var id = $ (this).data ('id');
|
||||
$ ('.parent-page-' + id).toggleClass ('hidden-xs-up');
|
||||
})
|
||||
Reference in New Issue
Block a user