diff options
author | Simo Sorce <idra@samba.org> | 2007-01-20 23:38:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:43:54 -0500 |
commit | dfb9407c963025f102f508d9c006f43fd67ff9aa (patch) | |
tree | 806845bd090c048cafb82f71adf0e5ce5dbb5074 | |
parent | 58110b8fd90c9261c7ae06e02253722b220e9e0c (diff) | |
download | samba-dfb9407c963025f102f508d9c006f43fd67ff9aa.tar.gz samba-dfb9407c963025f102f508d9c006f43fd67ff9aa.tar.bz2 samba-dfb9407c963025f102f508d9c006f43fd67ff9aa.zip |
r20926: Modify the classname as well
(This used to be commit 756935f41255a741c63ddf86b99730891bfba8d7)
-rw-r--r-- | webapps/swat/Makefile | 6 | ||||
-rw-r--r-- | webapps/swat/source/class/swat/module/ldbbrowse/Gui.js | 14 | ||||
-rw-r--r-- | webapps/swat/source/class/swat/module/ldbbrowse/LdifViewer.js | 6 |
3 files changed, 15 insertions, 11 deletions
diff --git a/webapps/swat/Makefile b/webapps/swat/Makefile index c993dde825..c61f0a3287 100644 --- a/webapps/swat/Makefile +++ b/webapps/swat/Makefile @@ -70,6 +70,12 @@ build: info-build \ copy-build-files \ fix-build-rights +swat-only: \ + info-build \ + generate-script-build \ + copy-build-files \ + fix-build-rights + api: generate-api-build generate-api-data @echo @echo " CREATE COPY OF HTML FILE" diff --git a/webapps/swat/source/class/swat/module/ldbbrowse/Gui.js b/webapps/swat/source/class/swat/module/ldbbrowse/Gui.js index fcdbe1c058..1b9677fbd1 100644 --- a/webapps/swat/source/class/swat/module/ldbbrowse/Gui.js +++ b/webapps/swat/source/class/swat/module/ldbbrowse/Gui.js @@ -278,18 +278,18 @@ qx.Proto._buildPageSearch = function(module, page) // Add the vlayout to the page page.add(vlayout); - var ldifView = new swat.module.ldbbrowse.ldifViewer(); - ldifView.set({ + var ldifview = new swat.module.ldbbrowse.LdifViewer(); + ldifview.set({ top: 130, left: 10, right: 10, bottom: 10 }); - fsm.addObject("ldifView", ldifView); + fsm.addObject("LdifView", ldifview); // Add the output area to the page - page.add(ldifView); + page.add(ldifview); }; qx.Proto._buildPageBrowse = function(module, page) @@ -372,9 +372,9 @@ qx.Proto._displaySearchResults = function(module, rpcRequest) var fsm = module.fsm; // Obtain the table and tableModel objects - var ldifView = fsm.getObject("ldifView"); + var ldifview = fsm.getObject("LdifView"); - ldifView.reset(); + ldifview.reset(); // Obtain the result object result = rpcRequest.getUserData("result").data; @@ -394,7 +394,7 @@ qx.Proto._displaySearchResults = function(module, rpcRequest) "\n"); continue; } - ldifView.appendObject(obj); + ldifview.appendObject(obj); } } else diff --git a/webapps/swat/source/class/swat/module/ldbbrowse/LdifViewer.js b/webapps/swat/source/class/swat/module/ldbbrowse/LdifViewer.js index 61f04bd3e1..6b7819ae16 100644 --- a/webapps/swat/source/class/swat/module/ldbbrowse/LdifViewer.js +++ b/webapps/swat/source/class/swat/module/ldbbrowse/LdifViewer.js @@ -10,7 +10,7 @@ * Swat LDB Browser class graphical user interface */ -qx.OO.defineClass("swat.module.ldbbrowse.ldifViewer", qx.ui.embed.HtmlEmbed, +qx.OO.defineClass("swat.module.ldbbrowse.LdifViewer", qx.ui.embed.HtmlEmbed, function() { qx.ui.embed.HtmlEmbed.call(this, ""); @@ -24,11 +24,9 @@ function() this.innerText = ""; }); -//qx.OO.changeProperty({ name : "appearance", type : "string", defaultValue : "???" }); - qx.OO.addProperty({ name : "innerText", type : "string" }); -swat.module.ldbbrowse.ldifViewer.empty = { +qx.Class.empty = { html : "", innerText : "" } |