Plugin Directory

Changeset 490579


Ignore:
Timestamp:
01/16/2012 12:20:46 PM (14 years ago)
Author:
Skowron
Message:

setting proper layout in widget mode, after "change place" action.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nokia-mapsplaces/trunk/page/js/core.js

    r490575 r490579  
    5555
    5656    var hidePlaceWidget = function(){
    57         setLayout.call(jQuery('#layoutOptions li')[2]);
     57        if(widget){
     58          setLayout.call(jQuery('#layoutOptions li#layoutCompact')[0]);
     59        }
     60        else{
     61          setLayout.call(jQuery('#layoutOptions li#layoutBasic')[0]);
     62        }
    5863       
    5964        jQuery('#headerStep2, #placeWidgetContainer').addClass('hidden');
Note: See TracChangeset for help on using the changeset viewer.