Skip to content
Snippets Groups Projects
Commit 40e30e8c authored by Prasad's avatar Prasad
Browse files

Updated comment

parent 167b706f
No related branches found
No related tags found
No related merge requests found
...@@ -306,6 +306,7 @@ var Settings_Picklist_Js = { ...@@ -306,6 +306,7 @@ var Settings_Picklist_Js = {
var form = container.find('[name="addItemForm"]'); var form = container.find('[name="addItemForm"]');
var params = { var params = {
submitHandler: function(form) { submitHandler: function(form) {
// detect characters that would break convention for css-class names
var specialChars = /[\<\>\"\,\[\]\{\}\'\!\@\#\$\%\^\&\*\(\)\+\=\?\|\\\;\:\/]/; var specialChars = /[\<\>\"\,\[\]\{\}\'\!\@\#\$\%\^\&\*\(\)\+\=\?\|\\\;\:\/]/;
var newValueEle = jQuery('[name="newValue"]', container); var newValueEle = jQuery('[name="newValue"]', container);
var newValues = newValueEle.val(); var newValues = newValueEle.val();
...@@ -620,4 +621,4 @@ var Settings_Picklist_Js = { ...@@ -620,4 +621,4 @@ var Settings_Picklist_Js = {
jQuery(document).ready(function(){ jQuery(document).ready(function(){
Settings_Picklist_Js.registerEvents(); Settings_Picklist_Js.registerEvents();
}); });
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment