[Mapbender-commits] r4748 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sun Sep 27 04:12:56 EDT 2009
Author: kmq
Date: 2009-09-27 04:12:53 -0400 (Sun, 27 Sep 2009)
New Revision: 4748
Modified:
trunk/mapbender/http/javascripts/ConfEditor.js
trunk/mapbender/http/javascripts/mod_user.js
Log:
use tableeditor in mod_user
Modified: trunk/mapbender/http/javascripts/ConfEditor.js
===================================================================
--- trunk/mapbender/http/javascripts/ConfEditor.js 2009-09-27 08:04:42 UTC (rev 4747)
+++ trunk/mapbender/http/javascripts/ConfEditor.js 2009-09-27 08:12:53 UTC (rev 4748)
@@ -1,5 +1,4 @@
-$.getScript("../extensions/jquery.listeditor.js",null);
var ConfEditor = function(){
};
Modified: trunk/mapbender/http/javascripts/mod_user.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_user.js 2009-09-27 08:04:42 UTC (rev 4747)
+++ trunk/mapbender/http/javascripts/mod_user.js 2009-09-27 08:12:53 UTC (rev 4748)
@@ -11,7 +11,7 @@
<li><label for="'+ options.id +'Name">Username</label><input id="'+ options.id +'name" type="text" /></li>\n\
<li><label for="'+ options.id +'Password">Password</label><input id="'+ options.id +'password" type="password" /></li>\n\
<li><label for="'+ options.id +'Description">Description</label><input id="'+ options.id +'description" type="text" /></li>\n\
- <li><label for="'+ options.id +'Owner">Owner</label><select id="'+ options.id +'owner"/></select></li>\n\
+ <li> <label for="'+ options.id +'owners">Owners</label><input type="hidden" id="'+ options.id +'owners" name="owners" /></li>\n\
<li><label for="'+ options.id +'LoginCount">Number of Logins</label><input id="'+ options.id +'loginCount" type="text" /></li>\n\
<li><label for="'+ options.id +'Email">Email</label><input id="'+ options.id +'email" type="text" /></li>\n\
<li><label for="'+ options.id +'Phone">Phone</label><input id="'+ options.id +'phone" type="text" /></li>\n\
@@ -50,6 +50,7 @@
this.options = options;
this.caption = "Users";
+ $('#'+ options.id +'owners',this.form).tableedit({url: "../javascripts/user.php",editor: this});
$(me).replaceWith(this.form);
me = this.form;
More information about the Mapbender_commits
mailing list