diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-05-19 19:59:59 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-05-19 19:59:59 +0200 |
commit | 72f0e11f3f8692c524a51556f05c9c55631ad449 (patch) | |
tree | ea83fe6ebe336628de5417c6a0e9f55febc442c4 /lib/scripts | |
parent | 3df72098bbc205fa4bd4735d52d2626baad93548 (diff) | |
download | rpg-72f0e11f3f8692c524a51556f05c9c55631ad449.tar.gz rpg-72f0e11f3f8692c524a51556f05c9c55631ad449.tar.bz2 |
link to media manager
This patch add a link to the media manager when no JavaScript is available.
Users can upload and browse for pictures now without the need for JavaScript
only inserting has to be done manually then.
darcs-hash:20060519175959-7ad00-5ee77fd00d20bef9a36eee632a1c5897097ba4a8.gz
Diffstat (limited to 'lib/scripts')
-rw-r--r-- | lib/scripts/edit.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/scripts/edit.js b/lib/scripts/edit.js index 48464017e..ada70194d 100644 --- a/lib/scripts/edit.js +++ b/lib/scripts/edit.js @@ -128,6 +128,9 @@ function initToolbar(tbid,edid,tb){ var toolbar = $(tbid); if(!toolbar) return; + //empty the toolbar area: + toolbar.innerHTML=''; + var cnt = tb.length; for(var i=0; i<cnt; i++){ // create new button |