Author: simoneg
Date: Tue Jan 26 17:35:47 2010
New Revision: 903333
URL: http://svn.apache.org/viewvc?rev=903333&view=rev
Log:
Fix compatibility issue
Modified:
labs/magma/trunk/website-maps-google/src/main/resources/org/apache/magma/website/maps/mapEditor.js
Modified:
labs/magma/trunk/website-maps-google/src/main/resources/org/apache/magma/website/maps/mapEditor.js
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-maps-google/src/main/resources/org/apache/magma/website/maps/mapEditor.js?rev=903333&r1=903332&r2=903333&view=diff
==============================================================================
---
labs/magma/trunk/website-maps-google/src/main/resources/org/apache/magma/website/maps/mapEditor.js
(original)
+++
labs/magma/trunk/website-maps-google/src/main/resources/org/apache/magma/website/maps/mapEditor.js
Tue Jan 26 17:35:47 2010
@@ -93,8 +93,10 @@
row.appendChild(nameCell);
nameCell.innerHTML = geometry.type + " " +
(geometry.progressive + 1);
var actionCell = document.createElement("td");
- actionCell.class="actioncell";
row.appendChild(actionCell);
+ actionCell.setAttribute("class", "actioncell");
+ actionCell.setAttribute("className", "actioncell");
+
var closelink = $('<a class="ui-icon ui-icon-closethick"></a>');
closelink[0].geometry = geometry;
closelink.click(function () {
@@ -593,7 +595,12 @@
me.buttons_ = [];
var control_div = document.createElement('div');
+ control_div.style.width="100px";
+ control_div.style.height="32px";
var control_table = document.createElement('table');
+ control_table.style.width="100px";
+ control_table.style.height="32px";
+
var control_tr = document.createElement('tr');
var vc_opts = {cssclass: 'btn-view',
@@ -653,9 +660,9 @@
var button_img = document.createElement('div');
button_img.style.cursor = 'pointer';
- button_img.width = '32';
- button_img.height = '32';
- button_img.border = '0';
+ button_img.style.width = '32px';
+ button_img.style.height = '32px';
+ button_img.style.border = '0';
$(button_img).addClass('button').addClass(button_opts.cssclass);
button_img.id = button_opts.name+'_control';
GEvent.addDomListener(button_img, "click", function() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]