Fix attributes submit error (#2201)

This commit is contained in:
jekkos
2018-11-15 21:54:35 +01:00
parent 465a2c29d5
commit 2e67007c69
2 changed files with 2 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ $(document).ready(function()
{
var is_event = typeof(value) !== 'string';
if (!$('#attribute_form').valid())
if ($("#definition_value").val().match(/(\||:)/g) != null)
{
return;
}

View File

@@ -25,7 +25,7 @@
],
"dependencies": {
"jquery-form": "~4.2.2",
"jquery-validate": "~1.14.0",
"jquery-validate": "~1.17.0",
"jquery": "~2.1.4",
"jquery-ui": "~1.11.4",
"bootstrap3-dialog": "https://github.com/nakupanda/bootstrap3-dialog.git#master",