Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/LimeSurvey/LimeSurvey
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 2, 2016
2 parents f6c4812 + 316af99 commit 8b2b216
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion application/controllers/admin/responses.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,14 @@ public function view($iSurveyID, $iId, $sBrowseLang = '')
{
Yii::app()->session['flashmessage'] = gT("This response ID is invalid.");
}

$aViewUrls[] = 'browseidfooter_view';
$aData['sidemenu']['state'] = false;
$aData['menu']['edition'] = true;
$aData['menu']['view'] = true;
$aData['menu']['close'] = true;
// This resets the url on the close button to go to the upper view
$aData['menu']['closeurl'] = $this->getController()->createUrl("admin/responses/sa/browse/surveyid/".$iSurveyId);

$this->_renderWrappedTemplate('',$aViewUrls, $aData);
}
Expand Down
6 changes: 5 additions & 1 deletion application/views/admin/htmleditor/pop_editor_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ function closeme()
var sReplacementFieldTitle = '<?php eT('LimeSurvey replacement field properties','js');?>';
var sReplacementFieldButton = '<?php eT('Insert/edit LimeSurvey replacement field','js');?>';
$(document).ready(function(){
console.log('iGroupId: '+iGroupId);
//console.log('iGroupId: '+iGroupId);
// Better use try/catch to not crash JS completely
/*
try{ console.log('iGroupId: '+iGroupId); } catch (e){ console.log(e); }
*/
CKEDITOR.on('instanceReady',CKeditor_OnComplete);
var oCKeditor = CKEDITOR.replace( 'MyTextarea' , { height : '350',
width : '98%',
Expand Down
2 changes: 1 addition & 1 deletion application/views/admin/responses/browsemenubar_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ class="btn btn-default <?php if (!$previous) {echo 'disabled';}?>">
<span class="icon-databack text-success" title='<?php eT("Show previous..."); ?>'></span> <?php eT("Show previous..."); ?>
</a>
<a href='<?php echo $this->createUrl("admin/responses/sa/view/surveyid/$surveyid/id/$next"); ?>' title='<?php eT("Show next..."); ?>'
class="btn btn-default" <?php if (!$next) {echo 'disabled';}?>">
class="btn btn-default <?php if (!$next) {echo 'disabled';}?>">
<span class="icon-dataforward text-success" title='<?php eT("Show next..."); ?>'></span> <?php eT("Show next..."); ?>
</a>

Expand Down

0 comments on commit 8b2b216

Please sign in to comment.