Author: simoneg
Date: Tue Jan 19 15:21:49 2010
New Revision: 900818
URL: http://svn.apache.org/viewvc?rev=900818&view=rev
Log:
Fix for ie6/7
Modified:
labs/magma/trunk/website-maps-google/src/main/resources/org/apache/magma/website/maps/tableToMap.js
Modified:
labs/magma/trunk/website-maps-google/src/main/resources/org/apache/magma/website/maps/tableToMap.js
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-maps-google/src/main/resources/org/apache/magma/website/maps/tableToMap.js?rev=900818&r1=900817&r2=900818&view=diff
==============================================================================
---
labs/magma/trunk/website-maps-google/src/main/resources/org/apache/magma/website/maps/tableToMap.js
(original)
+++
labs/magma/trunk/website-maps-google/src/main/resources/org/apache/magma/website/maps/tableToMap.js
Tue Jan 19 15:21:49 2010
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-TableMap_hideall = function() {
+function TableMap_hideall() {
var head = document.getElementsByTagName('head')[0],
style = document.createElement('style'),
rules = document.createTextNode('div.MagmaMappedList
table.MagmaList { display: none; } ');
@@ -40,6 +40,7 @@
var magmap = null;
eval("magmap = "+mapid);
if (!magmap) return;
+ $('table', mytbl).toggle(false);
$('tbody tr', mytbl).each(function() {
var shapes = $('td.MagmaMappedShapes', this).text();
if (shapes == '') return;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]