aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ajax/script.js')
-rw-r--r--src/ajax/script.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ajax/script.js b/src/ajax/script.js
index dfee86712..91c84d6f4 100644
--- a/src/ajax/script.js
+++ b/src/ajax/script.js
@@ -9,7 +9,10 @@ jQuery.ajaxSetup({
script: /javascript/
},
converters: {
- "text script": jQuery.globalEval
+ "text script": function( text ) {
+ jQuery.globalEval( text );
+ return text;
+ }
}
});