diff options
Diffstat (limited to '')
-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);
|