1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Fix for button insert.

This commit is contained in:
Cameron
2013-03-09 20:57:15 -08:00
parent d612bb88df
commit a8c2640ec1

View File

@@ -43,7 +43,7 @@ $(document).ready(function()
var buttonClass = (buttonType != '') ? 'btn-'+buttonType : ''; var buttonClass = (buttonType != '') ? 'btn-'+buttonType : '';
var html = '<a class=\"btn ' + buttonClass + ' ' + buttonSize + '\" href=\"' + buttonUrl + '\" >' + buttonText + '</a>'; var html = '<a class=\"btn ' + buttonClass + ' ' + buttonSize + '\" href=\"' + buttonUrl + '\" >' + buttonText + '</a> ';
// alert(html); // alert(html);
tinyMCEPopup.editor.execCommand('mceInsertContent', false, html); tinyMCEPopup.editor.execCommand('mceInsertContent', false, html);
tinyMCEPopup.close(); tinyMCEPopup.close();