From f01bb8ee156346bf69667f1ef94dd71a5d871bc2 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 21 Oct 2015 15:04:28 +0000 Subject: [PATCH] Fix unable to change group run rights --- admin/js/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/js/app.js b/admin/js/app.js index 7337f47362..f77f3a6046 100644 --- a/admin/js/app.js +++ b/admin/js/app.js @@ -530,8 +530,9 @@ app.classes.admin = AppJS.extend( var removed = []; // Loop through all apps, remove the ones with no permission - for(var app in sel_options.filter2) + for(var idx in sel_options.filter2) { + var app = sel_options.filter2[idx].value || false; if (!app) continue; var run_id = app+":"+_value.acl_account+":run"; if(_value.apps.indexOf(app) < 0 && (content.apps.indexOf(app) >= 0 || content.apps.length == 0))