diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2024-05-27 13:12:17 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2024-05-27 13:12:17 +0200 |
commit | f1ab2f022fdc780aca0944d90e9a0e844a0820d7 (patch) | |
tree | 79942a40514f5ab40c5901349c9fcd30c6c8dc0e /admin/survey/script/telefon.js | |
parent | 2024-02-19 upstream (diff) | |
download | 1ka-f1ab2f022fdc780aca0944d90e9a0e844a0820d7.tar 1ka-f1ab2f022fdc780aca0944d90e9a0e844a0820d7.tar.gz 1ka-f1ab2f022fdc780aca0944d90e9a0e844a0820d7.tar.bz2 1ka-f1ab2f022fdc780aca0944d90e9a0e844a0820d7.tar.lz 1ka-f1ab2f022fdc780aca0944d90e9a0e844a0820d7.tar.xz 1ka-f1ab2f022fdc780aca0944d90e9a0e844a0820d7.tar.zst 1ka-f1ab2f022fdc780aca0944d90e9a0e844a0820d7.zip |
Diffstat (limited to 'admin/survey/script/telefon.js')
-rw-r--r-- | admin/survey/script/telefon.js | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/admin/survey/script/telefon.js b/admin/survey/script/telefon.js deleted file mode 100644 index 15f393f..0000000 --- a/admin/survey/script/telefon.js +++ /dev/null @@ -1,31 +0,0 @@ -// meta podatki
-var srv_meta_anketa_id = $("#srv_meta_anketa").val();
-
-// avtomatsko vsake 30 sekund preverimo, ce se je pojavila kaksna nova stevilka
-function preveri_nove_stevilke () {
- $.timer(30000, function (timer) {
-
- $('#preveri_stevilke').load('ajax.php?t=telefon&a=preveri_stevilke', {anketa: srv_meta_anketa_id});
- timer.stop();
- });
-}
-
-// dashboard filter na datum
-function tel_date_filter () {
-
- // Ce imamo nastavljen datum "od"
- var dateFrom = $('#tel_dash_dateFrom').val();
- var dateFromText = '';
- if(dateFrom != '')
- dateFromText = '&date_from=' + dateFrom;
-
- // Ce imamo nastavljen datum "do"
- var dateTo = $('#tel_dash_dateTo').val();
- var dateToText = '';
- if(dateTo != '')
- dateToText = '&date_to=' + dateTo;
-
- var srv_site_url = $("#srv_site_url").val();
- srv_site_url += 'admin/survey/index.php?anketa='+srv_meta_anketa_id+'&a=telephone&m=dashboard'+dateFromText+dateToText;
- window.location.href = srv_site_url;
-}
\ No newline at end of file |