Skip to content

Commit

Permalink
#1100 Froala editor
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTr committed Mar 2, 2018
1 parent f3f98ae commit 9743b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/editor.php
Expand Up @@ -51,7 +51,7 @@ function PageCompMainCode()
// standard editor in popup

echo BxTemplFunctions::getInstance()->popupBox('bx-sample-editor-in-popup', 'popupBox', 'Editor in popup', true);
echo '<button class="bx-btn" onclick="$(window).dolPopupAjax({url: \'samples/editor.php?action=editor&_t=b'.time().'\', removeOnClose: true})">Editor in popup</button>';
echo '<button class="bx-btn" onclick="$(window).dolPopupAjax({url: \'' . BX_DOL_URL_ROOT . 'samples/editor.php?action=editor&_t=b'.time().'\', removeOnClose: true})">Editor in popup</button>';


if ($oEditor) // check if editor is available for using
Expand Down

0 comments on commit 9743b1e

Please sign in to comment.