Skip to content

Commit

Permalink
Fixed issue #04360: Lacking the 'Manage labels' right cause the label…
Browse files Browse the repository at this point in the history
… set browser to be unusable

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@8750 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Thibault Le Meur committed May 26, 2010
1 parent ded7157 commit cdb3f98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/scripts/answers.js
Expand Up @@ -318,13 +318,14 @@ function lspreview()
}

var lsid=$('#labelsets').selectedValues();
surveyid=$('input[name=sid]').val();
// check if this label set is already cached
if (!isset(labelcache[lsid]))
{
$.ajax({
url: 'admin.php?action=ajaxlabelsetdetails',
dataType: 'json',
data: {lid:lsid},
data: {lid:lsid, sid:surveyid},
cache: true,
success: function(json){
$("#labelsetpreview").tabs('destroy');
Expand Down

0 comments on commit cdb3f98

Please sign in to comment.