[Mapbender-commits] r5094 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Dec 9 09:03:56 EST 2009
Author: verenadiewald
Date: 2009-12-09 09:03:54 -0500 (Wed, 09 Dec 2009)
New Revision: 5094
Modified:
trunk/mapbender/http/javascripts/mod_ResultList.js
Log:
button style
Modified: trunk/mapbender/http/javascripts/mod_ResultList.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_ResultList.js 2009-12-09 13:51:53 UTC (rev 5093)
+++ trunk/mapbender/http/javascripts/mod_ResultList.js 2009-12-09 14:03:54 UTC (rev 5094)
@@ -39,7 +39,7 @@
};
buttondef.callback.call(this,args);
};
- var button = $("<span>"+buttondef.title+"</span>").click(result);
+ var button = $("<span><button type='button' class='ui-state-default ui-corner-all'>"+buttondef.title+"</button></span>").click(result);
if($('#'+options.id+"buttonrow").length < 1){
$('#'+options.id).append('<div id="'+options.id +'buttonrow"></div>');
}
@@ -75,7 +75,6 @@
}
this.show = function(){
- debugger;
if(display_popup){
$('#'+options.id).dialog("open");
}else{
@@ -95,7 +94,7 @@
var callback = function() {
popupButtons[c].callback.call(this,feature);
};
- var button = $("<li>"+popupButtons[c].title+"</li>").click(callback);
+ var button = $("<li><button type='button' class='ui-state-default ui-corner-all'>"+popupButtons[c].title+"</button></li>").click(callback);
button.css("display","inline");
buttonList.append(button);
}
More information about the Mapbender_commits
mailing list