summaryrefslogtreecommitdiffstats
path: root/admin/survey/script/DragDrop
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2024-05-27 13:08:29 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2024-05-27 13:08:29 +0200
commit75160b12821f7f4299cce7f0b69c83c1502ae071 (patch)
tree27e25e4ccaef45f0c58b22831164050d1af1d4db /admin/survey/script/DragDrop
parentprvi-commit (diff)
download1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.gz
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.bz2
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.lz
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.xz
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.zst
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.zip
Diffstat (limited to 'admin/survey/script/DragDrop')
-rw-r--r--admin/survey/script/DragDrop/dragdropInAdmin.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/admin/survey/script/DragDrop/dragdropInAdmin.js b/admin/survey/script/DragDrop/dragdropInAdmin.js
index 65d1799..f95ebe8 100644
--- a/admin/survey/script/DragDrop/dragdropInAdmin.js
+++ b/admin/survey/script/DragDrop/dragdropInAdmin.js
@@ -120,8 +120,8 @@ function Draggable(tip, spremenljivka, vre_id, ajax, anketa, site_url, usr_id, o
var top_cat = -1;
var left_cat = -1;
if (mobile == 0 || mobile == 2){
- top_cat = -6;
- left_cat = -6;
+ //top_cat = -6;
+ //left_cat = -6;
}
$('#spremenljivka_'+spremenljivka+'_vrednost_'+vre_id).addClass('drag_and_drop').detach().appendTo('#half_frame_dropping_'+spremenljivka) //zeleni element s kategorijami dodaj v zacetnem kontejnerju
@@ -334,8 +334,8 @@ function DragDropDelovanje(tip, spremenljivka, site_url, ajax, anketa, usr_id, n
var left_cat = -1;
var default_var_height = 290;
if (mobile == 0 || mobile == 2){
- top_cat = -6;
- left_cat = -6;
+ //top_cat = -6;
+ //left_cat = -6;
default_var_height = 220; //default visina celotnega vprasanja @ mobile == 0 (desktop) in mobile == 2 (tablica)
}
@@ -568,8 +568,8 @@ function GridDraggable(tip, spremenljivka, vre_id, ajax, anketa, site_url, usr_i
var top_cat = -1;
var left_cat = -1;
if (mobile == 0 || mobile == 2){
- top_cat = -6;
- left_cat = -6;
+ //top_cat = -6;
+ //left_cat = -6;
top_cat_right = 30;
}
//*********************
@@ -828,8 +828,8 @@ function GridDragDropDelovanje(num_grids, indeks, tip, spremenljivka, site_url,
var left_cat = -1;
var default_var_height = 290; //default visina celotnega vprasanja
if (mobile == 0 || mobile == 2){
- top_cat = -6;
- left_cat = -6;
+ //top_cat = -6;
+ //left_cat = -6;
top_cat_right = 30;
var default_var_height = 220; //default visina celotnega vprasanja
}