Skip to content

Commit

Permalink
XWIKI-22010: The rights buttons for Unregistered Users do not display…
Browse files Browse the repository at this point in the history
… anymore the value set after page refresh

* Replaced the string value when calling MSCheckbox for guest users with an int value, like it is done for any other user
  • Loading branch information
Sereza7 committed Mar 21, 2024
1 parent e38d9b3 commit 8d1141e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ $xwiki.ssfx.use('js/xwiki/table/livetable.css', true)
var ta = new XWiki.widgets.LiveTable("$url", "usersandgroupstable", callback, {"filtersNode": $('usersandgroupstable')});
#foreach($i in [0..$maxlevel])
#if ($currentAllowed[$i])
var chbx${i} = new MSCheckbox($("td${levelsRights.get($i)}"), "${levelsRights.get($i)}", window.saveUrl, "${r.get($i)}");
var chbx${i} = new MSCheckbox($("td${levelsRights.get($i)}"), "${levelsRights.get($i)}", window.saveUrl, $r.get($i));
#end
#end
Event.observe(window, 'load', function() {
Expand Down

0 comments on commit 8d1141e

Please sign in to comment.