Committer: vkurkin
LJSUP-9504: Not working button Insert image in HTMLU 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 +};