projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Buchungsnummer auch bei Einkaufsrechnungen als Info anzeigen
[kivitendo-erp.git]
/
js
/
client_js.js
diff --git
a/js/client_js.js
b/js/client_js.js
index
3f2bde5
..
8be5676
100644
(file)
--- a/
js/client_js.js
+++ b/
js/client_js.js
@@
-44,8
+44,10
@@
ns.eval_json_result = function(data) {
$('#flash_' + category + '_detail').empty();
});
}
$('#flash_' + category + '_detail').empty();
});
}
- if ((data.js || '') != '')
+ if ((data.js || '') !== '')
+ // jshint -W061
eval(data.js);
eval(data.js);
+ // jshint +W061
if (data.eval_actions)
$(data.eval_actions).each(function(idx, action) {
if (data.eval_actions)
$(data.eval_actions).each(function(idx, action) {
@@
-116,7
+118,7
@@
ns.eval_json_result = function(data) {
else if (action[0] == 'dialog:close') $(action[1]).dialog('close');
// ## jQuery Form plugin ##
else if (action[0] == 'dialog:close') $(action[1]).dialog('close');
// ## jQuery Form plugin ##
- else if (action[0] == 'ajaxForm')
pattern:
$(action[1]).ajaxForm({ success: eval_json_result });
+ else if (action[0] == 'ajaxForm') $(action[1]).ajaxForm({ success: eval_json_result });
// ## jstree plugin ##
// ## jstree plugin ##