diff --git a/include/ajax.content.php b/include/ajax.content.php index 0706757641e7bd82c5603218bafb76110aa92971..c12d56ab00bdd63863b2dee5e96ccac82a0bc592 100644 --- a/include/ajax.content.php +++ b/include/ajax.content.php @@ -150,7 +150,7 @@ class ContentAjaxAPI extends AjaxController { $langs = Internationalization::getConfiguredSystemLanguages(); $translations = $content->getAllTranslations(); $info = array( - 'title' => $content->getTitle(), + 'title' => $content->getName(), 'body' => $content->getBody(), ); foreach ($translations as $t) { diff --git a/scp/js/scp.js b/scp/js/scp.js index aed3618a2be9c6bb4a99301f5e38303cafca4821..d3026828db81d44cd77c82bb6bfbe3623d59c058 100644 --- a/scp/js/scp.js +++ b/scp/js/scp.js @@ -326,7 +326,9 @@ var scp_prep = function() { $('.dialog').delegate('input.close, a.close', 'click', function(e) { e.preventDefault(); - $(this).parents('div.dialog') + var $dialog = $(this).parents('div.dialog'); + $dialog.off('blur.redactor'); + $dialog .hide() .removeAttr('style'); $.toggleOverlay(false);