#8812 closed defect (bug) (fixed)
javascript error in thickbox viewing updatable plugins (TB_WIDTH is undefined)
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7.1 |
| Component: | General | Version: | 2.7 |
| Severity: | normal | Keywords: | thickbox, TB_WIDTH, javascript, error |
| Cc: |
Description
When you view the plugins settings page in wp-admin and one of your plugins has an available update, if you click the link to view the plugin update details (which should display in a thickbox) you get a javascript error in IE7:
TB_WIDTH is undefined
on line 284 of /wp-includes/js/thickbox/thickbox.js in the function tb_position()
function tb_position() {
>>> jQuery("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'});
if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) { // take away IE6
jQuery("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'});
}
}
Change History (3)
- Owner changed from anonymous to tsimmons
- Status changed from new to assigned
Note: See
TracTickets for help on using
tickets.

(In [10327]) Fix non-critical js error when loading Thickbox on the plugins page, fixes #8812 for trunk