From 72f0e11f3f8692c524a51556f05c9c55631ad449 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 19 May 2006 19:59:59 +0200 Subject: 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 --- lib/scripts/edit.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/scripts') 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