[wp-trac] [WordPress Trac] #18723: Image Editing does not handle failures gracefully

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 20 12:38:43 UTC 2011


#18723: Image Editing does not handle failures gracefully
--------------------------+---------------------
 Reporter:  westi         |       Owner:  azaozz
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.3
Component:  Media         |     Version:  3.2
 Severity:  major         |  Resolution:
 Keywords:  needs-patch   |
--------------------------+---------------------

Comment (by westi):

 We need at least something like:

 {{{
                 img.error( function() {
                         alert( 'Sorry, something went wrong.' );
                         t.toggleEditor(postid, 0);
                 } )
 }}}

 in {{{refreshEditor}}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18723#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list