Skip to content

Commit

Permalink
Fixed issue #11151: Graphs behaving weird, in export mode, if there i…
Browse files Browse the repository at this point in the history
…s only one question, graph wasn't shown
  • Loading branch information
LouisGac committed May 11, 2016
1 parent fb18b4a commit 27a5ad5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions application/views/admin/export/generatestats/_header.php
Expand Up @@ -33,3 +33,4 @@
</form>
<?php endif;?>
</div>
<input type="hidden" id="showGraphOnPageLoad" />
2 changes: 0 additions & 2 deletions scripts/admin/statistics.js
Expand Up @@ -28,8 +28,6 @@ var COLORS_FOR_SURVEY = new Array('20,130,200','232,95,51','34,205,33','210,211,
var $type = $elem.data('type');
var $qid = $elem.data('qid');

console.log('QID: '+$elem.data('qid'));

$(window).scroll(function() {
var $window = $(window);
var docViewTop = $window.scrollTop();
Expand Down

0 comments on commit 27a5ad5

Please sign in to comment.