forked from External/greenlight
GRN2-xx: Fixed issue with room settings not showing updated values (#727)
* Fixed issue with room settings not showing updated values * Updated rake task to take provider
This commit is contained in:
committed by
Jesus Federico
parent
7bafd41a56
commit
a5fd4a08b5
@@ -56,6 +56,7 @@ $(document).on('turbolinks:load', function(){
|
||||
$("#room_mute_on_join").prop("checked", false)
|
||||
$("#room_require_moderator_approval").prop("checked", false)
|
||||
$("#room_anyone_can_start").prop("checked", false)
|
||||
$("#room_all_join_moderator").prop("checked", false)
|
||||
|
||||
//show all elements & their children with a create-only class
|
||||
$(".create-only").each(function() {
|
||||
@@ -121,6 +122,12 @@ $(document).on('turbolinks:load', function(){
|
||||
} else { //default option
|
||||
$("#room_anyone_can_start").prop("checked", false)
|
||||
}
|
||||
|
||||
if(settings.joinModerator){
|
||||
$("#room_all_join_moderator").prop("checked", true)
|
||||
} else { //default option
|
||||
$("#room_all_join_moderator").prop("checked", false)
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user