File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
sapling/maps/static/olwidget/js Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -325,12 +325,12 @@ SaplingMap = {
325325 for ( var i = 0 ; i < map . controls . length ; i ++ ) {
326326 if ( map . controls [ i ] && map . controls [ i ] . CLASS_NAME ==
327327 "olwidget.EditableLayerSwitcher" ) {
328- /* Temporary until issue #286 is fixed */
329- if ( $ . browser . msie && ( parseInt ( $ . browser . version , 10 ) >= 8 ) ) {
330- alert ( "At the moment, map editing doesn't work in IE 8 & 9. Please use Firefox or Chrome instead to edit maps." ) ;
331- }
332328 layer = map . vectorLayers [ 0 ] ;
333329 if ( layer . controls ) {
330+ /* Temporary until issue #286 is fixed */
331+ if ( $ . browser . msie && ( parseInt ( $ . browser . version , 10 ) >= 8 ) ) {
332+ alert ( "At the moment, map editing doesn't work in IE 8 & 9. Please use Firefox or Chrome instead to edit maps." ) ;
333+ }
334334 this . _remove_unneeded_controls ( layer ) ;
335335 map . controls [ i ] . setEditing ( layer ) ;
336336
You can’t perform that action at this time.
0 commit comments