aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/media.js
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2011-06-10 20:26:04 +0200
committerAndreas Gohr <andi@splitbrain.org>2011-06-13 14:26:34 +0200
commit17e2e2545f2fd3607a14238ecee25eb7a605ce84 (patch)
treeb54585710d4867afa3cbc0e33021806d439f31ec /lib/scripts/media.js
parent427fd3cc91f3a9d5ccfba4cfad402d45b40cf103 (diff)
downloaddokuwiki-17e2e2545f2fd3607a14238ecee25eb7a605ce84.tar.gz
dokuwiki-17e2e2545f2fd3607a14238ecee25eb7a605ce84.zip
Moved behavioural functions into it's own object and file
JavaScript functions adding behaviours based on IDs or class names where moved to their own object into behaviour.js and where jQueryized.
Diffstat (limited to 'lib/scripts/media.js')
-rw-r--r--lib/scripts/media.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/scripts/media.js b/lib/scripts/media.js
index cf4a839d9..bcdba2a48 100644
--- a/lib/scripts/media.js
+++ b/lib/scripts/media.js
@@ -326,7 +326,8 @@
event.preventDefault();
- cleanMsgArea();
+ jQuery.remove('div.success, div.info, div.error, div.notify');
+
content = $('#media__content');
content.html('<img src="' + DOKU_BASE + 'lib/images/loading.gif" alt="..." class="load" />');