summaryrefslogtreecommitdiff
path: root/lib/scripts/toolbar.js
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2009-08-12 12:23:02 +0200
committerAndreas Gohr <gohr@cosmocode.de>2009-08-12 12:23:02 +0200
commit56dfcc12d4d4b326fc393a8271da0cf8374d3a11 (patch)
tree54d69021fb2167f0b501e967539cfe14d141bf9f /lib/scripts/toolbar.js
parent050f4a944248d0ceb6888477ea6b1367bb1bdf47 (diff)
downloadrpg-56dfcc12d4d4b326fc393a8271da0cf8374d3a11.tar.gz
rpg-56dfcc12d4d4b326fc393a8271da0cf8374d3a11.tar.bz2
Link Wizard added
Ignore-this: c15561aa909f921f7845576378851b93 This adds a new link wizard to the toolbar which helps users to find the page the want to link to. Pages can be found by a simple page name search or by browsing the existing namespaces. This is the first checkin. Some cleanup and MSIE compatibility checks remain. note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info darcs-hash:20090812102302-6e07b-fcc564fcaf2ed6aa832918870dd0f92607748687.gz
Diffstat (limited to 'lib/scripts/toolbar.js')
-rw-r--r--lib/scripts/toolbar.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/scripts/toolbar.js b/lib/scripts/toolbar.js
index 48a4a4a7e..3ad370ff5 100644
--- a/lib/scripts/toolbar.js
+++ b/lib/scripts/toolbar.js
@@ -145,6 +145,16 @@ function addBtnActionPicker(btn, props, edid) {
return true;
}
+function addBtnActionLinkwiz(btn, props, edid) {
+ linkwiz.init($(edid));
+ addEvent(btn,'click',function(){
+ linkwiz.toggle();
+ return false;
+ });
+ return true;
+}
+
+
/**
* Show/Hide a previosly created picker window
*