Write work-around for default function parameter values in IE11
@@ -468,7 +468,10 @@ function isSharePermissionPromptRequired(form_id) {
}
return NOT_REQUIRED;
}
-function change_share_permission_ajax_submit(form_id, check_permission=true) {
+function change_share_permission_ajax_submit(form_id, check_permission) {
+ if (check_permission === undefined) {
+ check_permission = true;
+ }
if (check_permission && isSharePermissionPromptRequired(form_id)) {
promptChangeSharePermission(form_id);
return;
