Vlad Kurkin (b_vladi) wrote in changelog,
Vlad Kurkin
b_vladi
changelog

[livejournal] r19712: LJSUP-9504: Not working button Insert im...

Committer: vkurkin
LJSUP-9504: Not working button Insert image in HTML
U   trunk/htdocs/js/entry.js
Modified: trunk/htdocs/js/entry.js
===================================================================
--- trunk/htdocs/js/entry.js	2011-08-12 07:56:28 UTC (rev 19711)
+++ trunk/htdocs/js/entry.js	2011-08-15 01:41:58 UTC (rev 19712)
@@ -970,7 +970,7 @@
 InOb.handleInsertImage = function (){
 	// if PhotoHosting enabled - show new popup
 	if(window.ljphotoEnabled){
-		jQuery('#content').photouploader('option', 'type', 'upload')
+		jQuery('#updateForm').photouploader('option', 'type', 'upload')
 			.bind('htmlready', function (event, htmlOutput){
 				jQuery('#draft').val(jQuery('#draft').val() + htmlOutput);
 		}).photouploader('show');
@@ -1347,4 +1347,4 @@
 InOb.setTitle = function (title){
 	var wintitle = currentPopupWindow.document.getElementById('wintitle');
 	wintitle.innerHTML = title;
-};
\ No newline at end of file
+};

Tags: b_vladi, js, livejournal
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