Changeset 844 for trunk/web-app


Ignore:
Timestamp:
Mar 4, 2011, 2:41:03 PM (13 years ago)
Author:
gav
Message:

Update taskShow.js to fix blur/fuzzy text in IE.
Also don't show button after validation error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web-app/js/taskShow.js

    r833 r844  
    1414        createContainer.find('.pane_close img').click(function(){
    1515            createContainer.slideUp(600);
    16             button.show(600);
     16            button.show(600, function() {
     17                if(jQuery.browser.msie) {
     18                    jQuery(this).get(0).style.removeAttribute('filter'); // Remove blur/fuzzy text in IE.
     19                }
     20            });
    1721        });
    1822}
     
    3337        createContainer.hide();
    3438        listContainer.html(data);
    35         button.show(600);
     39        button.show(600, function() {
     40            if(jQuery.browser.msie) {
     41                jQuery(this).get(0).style.removeAttribute('filter'); // Remove blur/fuzzy text in IE.
     42            }
     43        });
    3644    }
    3745
     
    4351        else {
    4452            createContainer.html(errorIndication().show()).slideDown(600);
     53            button.show(600, function() {
     54                if(jQuery.browser.msie) {
     55                    jQuery(this).get(0).style.removeAttribute('filter'); // Remove blur/fuzzy text in IE.
     56                }
     57            });
    4558        }
    46         button.show(600);
    4759    }
    4860
     
    8092            createContainer.html(errorIndication().show()).slideDown(600);
    8193        }
    82         button.show(600);
     94        button.show(600, function() {
     95            if(jQuery.browser.msie) {
     96                jQuery(this).get(0).style.removeAttribute('filter'); // Remove blur/fuzzy text in IE.
     97            }
     98        });
    8399    }
    84100
Note: See TracChangeset for help on using the changeset viewer.