Changeset 214 for trunk/web-app


Ignore:
Timestamp:
Feb 26, 2010, 11:52:38 AM (11 years ago)
Author:
duh
Message:
  • timepicker did not show correctly on initial show due to the fact that the show animation wasn't over when resizing was performed, hence using an incorrect datepicker width. Now calling resize method AFTER show animation has finished
  • improved eventDescription feedback
Location:
trunk/web-app/js
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web-app/js/timepicker-0.2.1.js

    r134 r214  
    217217        }
    218218
    219         this.resize();
    220 
    221         $('#' + this._mainDivId).show();
     219        // timepicker did not show correctly on initial show due to the fact
     220        // that the show animation wasn't over when resizing was performed,
     221        // hence using an incorrect datepicker width. Now calling resize method
     222        // AFTER show animation has finished
     223        var that = this;
     224        $('#' + this._mainDivId).show('slow',function() {
     225            that.resize();
     226        });
    222227
    223228        this._visible = true;
Note: See TracChangeset for help on using the changeset viewer.