spacevillain (spacevillain) wrote in changelog,
spacevillain
spacevillain
changelog

[livejournal] r22087: LJSUP-12132: Port image dialog from the ...

Committer: atyurin
LJSUP-12132: Port image dialog from the old update.bml page
U   trunk/htdocs/js/ck/plugins/livejournal/plugin.js
Modified: trunk/htdocs/js/ck/plugins/livejournal/plugin.js
===================================================================
--- trunk/htdocs/js/ck/plugins/livejournal/plugin.js	2012-05-29 07:19:27 UTC (rev 22086)
+++ trunk/htdocs/js/ck/plugins/livejournal/plugin.js	2012-05-29 08:00:32 UTC (rev 22087)
@@ -608,8 +608,9 @@
 					exec: function () {
 						if (typeof InOb !== 'undefined') {
 							InOb.handleInsertImageBeta('upload');
+						} else {
+							jQuery('.b-updatepage-event-section').editor('handleImageUpload', 'upload');
 						}
-						jQuery('.b-updatepage-event-section').editor('handleImageUpload', 'upload');
 					},
 					editorFocus: false
 				});

Tags: atyurin, js, livejournal, spacevillain
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments