Dotclear

Changeset 251


Ignore:
Timestamp:
10/20/08 01:15:16 (15 years ago)
Author:
olivier
Message:

Updated jquery.modal in lightbox plugin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/lightbox/js/modal.js

    r222 r251  
    2020               loader_txt: 'loading...', 
    2121               close_img: 'close.png', 
    22                close_txt: 'close' 
     22               close_txt: 'close', 
     23               on_close: function() {} 
    2324          }, 
    2425          ctrl: { 
     
    4243               if (data != undefined) { 
    4344                    this.updateBox(data); 
     45                    this.data = data; 
    4446               } 
    4547               return this; 
     
    176178               $(window).unbind('resize.modal'); 
    177179               $(document).unbind('keypress'); 
     180               this.params.on_close.apply(this); 
    178181               this.ctrl.overlay.remove(); 
    179182               this.ctrl.hidden.css('visibility','visible'); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map