diff options
author | Git <git@what.cd> | 2012-10-27 08:00:09 +0000 |
---|---|---|
committer | Git <git@what.cd> | 2012-10-27 08:00:09 +0000 |
commit | ac74044ec272101a730c5735b76b5ec8f5df9ca5 (patch) | |
tree | 6e2067111e2d5a3a1e0fcb1f985fec4ff74d8c55 /static/functions/upload.js | |
parent | 7d8e070bf839a73e8d2d058feceda42ba7fa0563 (diff) | |
download | Gazelle-ac74044ec272101a730c5735b76b5ec8f5df9ca5.zip Gazelle-ac74044ec272101a730c5735b76b5ec8f5df9ca5.tar.gz Gazelle-ac74044ec272101a730c5735b76b5ec8f5df9ca5.tar.bz2 |
Empty commit
Diffstat (limited to 'static/functions/upload.js')
-rw-r--r-- | static/functions/upload.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/static/functions/upload.js b/static/functions/upload.js index 99e9646..587ae60 100644 --- a/static/functions/upload.js +++ b/static/functions/upload.js @@ -1,6 +1,8 @@ function Categories() { ajax.get('ajax.php?action=upload_section&categoryid=' + $('#categories').raw().value, function (response) { $('#dynamic_form').raw().innerHTML = response; + // Evaluate the code that generates previews. + eval(jQuery('#dynamic_form script.preview_code').html()); }); } |