r1323 - in branches/bxe_2_0: js plugins
| Newsgroups | gmane.editors.bitflux.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: chregu
Date: Thu Jun 2 15:12:02 2005
New Revision: 1323
Modified:
branches/bxe_2_0/js/bxeFunctions.js
branches/bxe_2_0/plugins/Drawer.js
Log:
MFH r1322
init drawer on start and not on init
- give plugin options also on start and not only on init
Modified: branches/bxe_2_0/js/bxeFunctions.js
==============================================================================
--- branches/bxe_2_0/js/bxeFunctions.js (original)
+++ branches/bxe_2_0/js/bxeFunctions.js Thu Jun 2 15:12:02 2005
@@ -2107,7 +2107,7 @@
for (var i = 0; i < ps.length; i++) {
var p = bxe_plugins[ps[i]];
if (p.start) {
- p.start();
+ p.start(bxe_config.getPluginOptions(ps[i]));
}
}
}
Modified: branches/bxe_2_0/plugins/Drawer.js
==============================================================================
--- branches/bxe_2_0/plugins/Drawer.js (original)
+++ branches/bxe_2_0/plugins/Drawer.js Thu Jun 2 15:12:02 2005
@@ -5,7 +5,12 @@
ar.push("css/kupudrawerstyles.css");
return ar;
}
- this.init = function(options) {
+
+ this.init = function() {
+ }
+
+ this.start = function(options) {
+
var body = document.getElementsByTagName("body")[0];
var div = document.createElement("div");
div.setAttribute("id","kupu-librarydrawer");
--
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs