diff --git a/application/views/attributes/form.php b/application/views/attributes/form.php index d41655c31..8cda67c92 100644 --- a/application/views/attributes/form.php +++ b/application/views/attributes/form.php @@ -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; } diff --git a/bower.json b/bower.json index e6ab56739..d38b6e401 100644 --- a/bower.json +++ b/bower.json @@ -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",