diff --git a/admin/survey/SurveyAdminAjax.php b/admin/survey/SurveyAdminAjax.php
index dc273cb6a..4e41f62d9 100644
--- a/admin/survey/SurveyAdminAjax.php
+++ b/admin/survey/SurveyAdminAjax.php
@@ -6728,6 +6728,443 @@ class SurveyAdminAjax {
echo '';
}
+
+ function ajax_publish_popup_open() {
+ global $lang, $site_url;
+ $name = $_POST['name'];
+
+ echo '
';
+
+ switch ($name) {
+
+ case 'html':
+
+ $code = '