Aralot (aralot) wrote in changelog,
Aralot
aralot
changelog

[livejournal] r20134: LJSUP-9902: Cannot insert few picks into...

Committer: szhirkov
LJSUP-9902: Cannot insert few picks into post
U   trunk/htdocs/js/entry.js
Modified: trunk/htdocs/js/entry.js
===================================================================
--- trunk/htdocs/js/entry.js	2011-09-27 07:16:50 UTC (rev 20133)
+++ trunk/htdocs/js/entry.js	2011-09-27 07:18:17 UTC (rev 20134)
@@ -997,7 +997,8 @@
 	// if PhotoHosting enabled - show new popup
 	if(window.ljphotoEnabled){
 		jQuery('#updateForm').photouploader('option', 'type', 'upload')
-			.bind('htmlready', function (event, htmlOutput){
+			.bind('htmlready', function (event){
+				var htmlOutput = event.htmlStrings.join(' ');
 				jQuery('#draft').val(jQuery('#draft').val() + htmlOutput);
 		}).photouploader('show');
 	} else {

Tags: aralot, 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