[Redizajn 1KA v2] Testiranje --> Komentarji - ajax za popup v headerju - končano, deluje ok

This commit is contained in:
tejagerjovic 2022-09-09 09:48:59 +02:00
parent d16a72edc8
commit 9d5710fbcc
4 changed files with 4 additions and 2 deletions

View File

@ -1939,7 +1939,7 @@ class BranchingAjax {
// textarea za oddat komentar - spodaj
if ($addfieldposition == 0 || $addfieldposition == '') {
echo '<div id="survey_comment_0_1">';
$this->add_comment_field($spremenljivka, $type, $view, $buttons=false);
$this->add_comment_field($spremenljivka, $type, $view, true, false);
echo '</div>';
}

View File

@ -1459,7 +1459,7 @@ class SurveyAdmin
echo '<div class="square" onclick="toggleCommentDropdown(); return false;">';
echo '<span class="faicon fa-times"></span>';
echo '</div>';
echo '<div class="square blue" onclick="add_comment(\'0\', \'0\', \'1\', $(\'#vsebina_0_1\').val()); return false;">';
echo '<div class="square blue" onclick="add_comment(\'0\', \'0\', \'1\', $(\'#vsebina_0_1\').val()); actionNotePopup(\'comment_added\', \'success\');return false;">';
echo '<span class="faicon fa-paper-plane"></span>';
echo '</div>';
echo '</div>';

View File

@ -8683,6 +8683,7 @@ $lang = array (
"action_note_link_copied" => 'Povezava je bila kopirana',
"action_note_text_copied" => 'Besedilo je bilo kopirano',
"action_note_success_save" => "Nastavitve so bile shranjene",
"action_note_comment_added" => "Komentar je bil dodan",
// AAi header
'lang_flag' => '<img src="public/img/flags/english_flag.svg" alt="english flag"> <span>ENG</span>',

View File

@ -8576,6 +8576,7 @@ GDPR introduction preview",
"action_note_link_copied" => 'The link has been copied',
"action_note_text_copied" => 'The text has been copied',
"action_note_success_save" => "The settings have been saved",
"action_note_comment_added" => "The comment has been added",
// AAi header