]> wagnertech.de Git - kivitendo-erp.git/blobdiff - scripts/generate_client_js_actions.tpl
Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / scripts / generate_client_js_actions.tpl
index 274076a7a8a02a1253afcfc782d01c0082188968..467344fbd8da3fa533ca784b4f03591e8cade2c4 100644 (file)
@@ -44,8 +44,10 @@ ns.eval_json_result = function(data) {
       $('#flash_' + category + '_detail').empty();
     });
   }
-  if ((data.js || '') != '')
+  if ((data.js || '') !== '')
+    // jshint -W061
     eval(data.js);
+    // jshint +W061
 
   if (data.eval_actions)
     $(data.eval_actions).each(function(idx, action) {