updates for page management, allowing addition of sparql data getter
This commit is contained in:
parent
be80e6ef41
commit
e3c6cc1640
8 changed files with 123 additions and 57 deletions
|
@ -199,7 +199,7 @@ var pageManagementUtils = {
|
|||
if (validationError == "") {
|
||||
//Create the appropriate json objects
|
||||
pageManagementUtils.createPageContentForSubmission();
|
||||
$(this).submit();
|
||||
return true;
|
||||
} else{
|
||||
$('#error-alert').removeClass('hidden');
|
||||
$('#error-alert p').html(validationError);
|
||||
|
@ -433,7 +433,7 @@ var pageManagementUtils = {
|
|||
var validationError = "";
|
||||
|
||||
// Check menu name
|
||||
if ($('input[type=text][name=menuName]').val() == "") {
|
||||
if ($('input[type=text][name=pageName]').val() == "") {
|
||||
validationError += "You must supply a name<br />";
|
||||
}
|
||||
// Check pretty url
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue