summaryrefslogtreecommitdiffstats
path: root/admin/survey/script/timeProfiles.js
diff options
context:
space:
mode:
Diffstat (limited to 'admin/survey/script/timeProfiles.js')
-rw-r--r--admin/survey/script/timeProfiles.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/survey/script/timeProfiles.js b/admin/survey/script/timeProfiles.js
index 619f7f7..50833ad 100644
--- a/admin/survey/script/timeProfiles.js
+++ b/admin/survey/script/timeProfiles.js
@@ -117,7 +117,7 @@ function timeProfileAction(action) {
var stat_interval = $("#stat_interval").val();
if (type == 1 && stat_interval == '') {
// če je type 1 (intervalni način) in interval ni izbran, damo opozorilo
- alert(lang['srv_time_profile_error_interval']);
+ genericAlertPopup('srv_time_profile_error_interval');
return false;
} else {
$.post("ajax.php?t=timeProfile&a=saveProfile", {anketa:srv_meta_anketa_id, pid:pid, type:type, startDate:startDate,endDate:endDate,stat_interval:stat_interval}, function(response) {
@@ -125,7 +125,7 @@ function timeProfileAction(action) {
});
}
} else {
- alert(action);
+ genericAlertPopup('alert_parameter_action',action);
return false;
}
} \ No newline at end of file