Changeset 1186

Show
Ignore:
Timestamp:
07/01/09 02:32:44 (4 years ago)
Author:
tschaub
Message:

Satisfying jslint.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js

    r1185 r1186  
    971971                zoomSelector.setValue("1 : " + parseInt(scale.data.scale, 10)); 
    972972            } else { 
    973                 if (!zoomSelector.rendered) return; 
     973                if (!zoomSelector.rendered) { 
     974                    return; 
     975                } 
    974976                zoomSelector.clearValue(); 
    975977            } 
     
    10371039        }); 
    10381040 
    1039         var toolGroup = "toolGroup"; 
    1040          
    10411041        // create a get feature info control 
    10421042        var info = {controls: []}; 
     
    14511451        var mapInfo = new Ext.Panel({ 
    14521452            title: "Map Info", 
    1453             html: '<div class="gx-info-panel">'  
    1454             + '<h2> Title </h2> <p>' + about.title  
    1455             + '</p> <h2> Abstract </h2> <p>' + about['abstract']  
    1456             + '</p> <h2> Keywords </h2> <p>' + about.keywords  
    1457             + '</p> <h2> Contact </h2> <p>' + about.contact +' </p> </div>', 
     1453            html: '<div class="gx-info-panel">' + 
     1454                  '<h2> Title </h2> <p>' + about.title + 
     1455                  '</p> <h2> Abstract </h2> <p>' + about['abstract'] + 
     1456                  '</p> <h2> Keywords </h2> <p>' + about.keywords + 
     1457                  '</p> <h2> Contact </h2> <p>' + about.contact +' </p> </div>', 
    14581458            height: 'auto', 
    14591459            width: 'auto'