[Redizajn 1KA] Popupi: Urejanje > Arhivi - Arhiv vprašalnika / Arhiv podatkov
This commit is contained in:
parent
27f25d9329
commit
f0cf3be940
@ -4018,7 +4018,7 @@ class SurveyAdminSettings {
|
||||
echo '</div>';
|
||||
|
||||
echo '<div class="button_holder bottom16">';
|
||||
echo '<button class="medium blue" type="button" href="index.php?anketa=' . $this->anketa . '&a=backup_create" onclick="create_archive_survey(\'' . $this->anketa .'\',\'' . $lang['srv_wait_a_moment'] .'\'); return false;">'.$lang['srv_backup_button'].'</button>';
|
||||
echo '<button class="medium blue" type="button" href="index.php?anketa=' . $this->anketa . '&a=backup_create" onclick="create_archive_survey(\'' . $this->anketa .'\'); return false;">'.$lang['srv_backup_button'].'</button>';
|
||||
echo '</div>';
|
||||
|
||||
// Seznam ustvarjenih arhivov
|
||||
@ -4080,7 +4080,7 @@ class SurveyAdminSettings {
|
||||
echo '<p class="bottom16">'.$lang['srv_backup_data_text'].'</p>';
|
||||
|
||||
echo '<div class="button_holder bottom16">';
|
||||
echo '<button class="medium blue" type="button" href="ajax.php?anketa=' . $this->anketa . '&a=backup_data" onclick="create_archive_survey_data(\'' . $this->anketa .'\',\'' . $lang['srv_wait_a_moment'] .'\'); return false;">'.$lang['srv_backup_data_label'].'</button>';
|
||||
echo '<button class="medium blue" type="button" href="ajax.php?anketa=' . $this->anketa . '&a=backup_data" onclick="create_archive_survey_data(\'' . $this->anketa .'\'); return false;">'.$lang['srv_backup_data_label'].'</button>';
|
||||
echo '</div>';
|
||||
|
||||
// Seznam ustvarjenih arhivov - 2. faza: kdo je arhiviral, opomba, možnost izbrisa
|
||||
|
@ -4198,10 +4198,8 @@ function add_to_library(anketa,where) {
|
||||
$.post('ajax.php?a=add_to_library', {anketa:anketa, where:where});
|
||||
}
|
||||
|
||||
function create_archive_survey(anketa, msg) {
|
||||
function create_archive_survey(anketa) {
|
||||
$('#fade').fadeTo('slow', 1);
|
||||
$('#fullscreen').html('').fadeIn('slow').draggable({delay:100, cancel: 'input, textarea, select, .buttonwrapper'});
|
||||
$('#fullscreen').append('<div id="survey_archive_note">'+msg+'</div>');
|
||||
$.post('index.php?anketa='+anketa+'&a=backup_create', {intro_opomba: $('#intro_opomba').val()},
|
||||
function() {
|
||||
window.location.reload();
|
||||
@ -4209,10 +4207,8 @@ function create_archive_survey(anketa, msg) {
|
||||
return false;
|
||||
}
|
||||
|
||||
function create_archive_survey_data(anketa, msg) {
|
||||
function create_archive_survey_data(anketa) {
|
||||
$('#fade').fadeTo('slow', 1);
|
||||
$('#fullscreen').html('').fadeIn('slow').draggable({delay:100, cancel: 'input, textarea, select, .buttonwrapper'});
|
||||
$('#fullscreen').append('<div id="survey_archive_note">'+msg+'</div>');
|
||||
$.post('ajax.php?anketa='+anketa+'&a=backup_data&data=true', {intro_opomba: $('#intro_opomba').val()},
|
||||
function() {
|
||||
window.location.reload();
|
||||
|
Loading…
x
Reference in New Issue
Block a user