[wp-trac] [WordPress Trac] #28458: wp.mce.view: simplify things a bit

WordPress Trac noreply at wordpress.org
Thu Jun 5 17:22:26 UTC 2014


#28458: wp.mce.view: simplify things a bit
--------------------------+-------------------------
 Reporter:  avryl         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.0
Component:  TinyMCE       |     Version:  3.9
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-------------------------

Comment (by wonderboymusic):

 [attachment:28458.diff 28458.diff] restores the `shortcode` property to
 the registered views for a/v/playlists. When `->edit()` gets called,
 `this` is the base class, not the `base.View` class. I was getting JS
 errors when clicking to edit otherwise.

 I will drop the rest in.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28458#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list