diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2024-05-27 13:08:29 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2024-05-27 13:08:29 +0200 |
commit | 75160b12821f7f4299cce7f0b69c83c1502ae071 (patch) | |
tree | 27e25e4ccaef45f0c58b22831164050d1af1d4db /main/survey/js/customizeImageView4Respondent.js | |
parent | prvi-commit (diff) | |
download | 1ka-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 'main/survey/js/customizeImageView4Respondent.js')
-rw-r--r-- | main/survey/js/customizeImageView4Respondent.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/survey/js/customizeImageView4Respondent.js b/main/survey/js/customizeImageView4Respondent.js index 2b2c2d3..3a20434 100644 --- a/main/survey/js/customizeImageView4Respondent.js +++ b/main/survey/js/customizeImageView4Respondent.js @@ -2,7 +2,7 @@ function customizeImageView4Respondent(tip, spremenljivka, vre_id, ajax, anketa, site_url, usr_id, other, mobile, quick_view, preview_spremenljivka){
-
+
if(quick_view || preview_spremenljivka){ //ce je le predogled
$('#spremenljivka_'+spremenljivka+'_vrednost_'+vre_id).draggable( "option", "disabled", true ); //disable-anje drag and drop
}
@@ -80,6 +80,7 @@ function customizeImageView4Respondent(tip, spremenljivka, vre_id, ajax, anketa, if (final_height != 0){
$('#spremenljivka_'+spremenljivka+'_vrednost_'+vre_id).css({'height':final_height}); //dodaj style atributu še novo višino za levi blok
}
+ //console.log(final_height);
//ureditev visine kategorije (div) glede na prisotnost slike ali vecvrsticnega teksta - konec********************************************
//ureditev visine celotnega vprasanja****************************************************************************************************
@@ -279,6 +280,7 @@ function question_height_ranking(spremenljivka){ function frame_height_ranking (ui, spremenljivka){
var trenutna_visina_prenesenega = ui.item.height();
//console.log(trenutna_visina_prenesenega);
+ //console.log('prvo');
var trenutni_okvir = $('#half2_'+spremenljivka);
var stevilo_prisotnih = trenutni_okvir.children('div').length;
//console.log(stevilo_prisotnih);
|