Development

Changeset 27235

You must first sign up to be able to contribute.

Changeset 27235

Show
Ignore:
Timestamp:
01/27/10 13:05:03 (3 years ago)
Author:
ornicar2
Message:

[Diem]
- clicking two times on a front Widget link will put the existing window on top, instead of opening a new one

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/diemPlugin/trunk/dmFrontPlugin/web/js/page/dmWidget.js

    r27114 r27235  
    1212  openEditDialog: function() 
    1313  { 
    14     var widget = this, activeTab = null, dialogClass = 'dm_widget_edit_dialog_wrap '+widget.element.attr('id')+'_edit_dialog'; 
    15      
     14    var widget = this, activeTab = null, dialogClass = widget.element.attr('id')+'_edit_dialog'; 
     15 
    1616    if ($('body > div.'+dialogClass).length) 
    1717    { 
     18      $('body > div.'+dialogClass).find('div.ui-dialog-content').dialog('moveToTop'); 
    1819      return; 
    1920    } 
     
    2425      title:        $('a.dm_widget_edit', widget.element).attr('title'), 
    2526      width:        370, 
    26       'class':      dialogClass, 
     27      'class':      'dm_widget_edit_dialog_wrap '+dialogClass, 
    2728      beforeClose:  function() 
    2829      {