updates to validation for menu management and update for checking default namespace and not throwing error if /individual not found
This commit is contained in:
parent
fdcdb4c34c
commit
1459228d5a
2 changed files with 23 additions and 12 deletions
|
@ -47,6 +47,7 @@ var menuManagementEdit = {
|
|||
if (validationError == "") {
|
||||
$(this).submit();
|
||||
} else{
|
||||
alert(validationError);
|
||||
$('#error-alert').removeClass('hidden');
|
||||
$('#error-alert p').html(validationError);
|
||||
return false;
|
||||
|
@ -82,6 +83,7 @@ var menuManagementEdit = {
|
|||
}*/
|
||||
// Check/unckeck all classes for selection
|
||||
$('input:checkbox[name=allSelected]').click(function(){
|
||||
// alert($('input:checkbox[name=classInClassGroup]'));
|
||||
if ( this.checked ) {
|
||||
// if checked, select all the checkboxes
|
||||
$('input:checkbox[name=classInClassGroup]').attr('checked','checked');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue