From 5c19f99d9d39a7ba9c793d10e2ff53a4463f0bc4 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 29 Apr 2014 16:15:23 +0000 Subject: [PATCH] Remove no longer needed AJAX call for groups, API now provides them directly to the widget --- phpgwapi/js/jsapi/app_base.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/phpgwapi/js/jsapi/app_base.js b/phpgwapi/js/jsapi/app_base.js index b950c64412..41b83837e0 100644 --- a/phpgwapi/js/jsapi/app_base.js +++ b/phpgwapi/js/jsapi/app_base.js @@ -485,19 +485,6 @@ var AppJS = Class.extend( parent_node: this.appname+'_favorites_popup_admin' },this.et2 || null); this.favorite_popup.group.loadingFinished(); - - // Creating select-account client side won't have primary group data - // so fetch using link system - var request = egw.json(self.appname + ".etemplate_widget_link.ajax_link_search.etemplate", - ['home-accounts', '','', {filter:{group:'groups'}}], - function(data) { - var result = []; - for(var id in data) { - result.push({"value": id.trim(), "label":data[id]}); - } - self.favorite_popup.group.set_select_options(result); - } - ).sendRequest(); } var buttons = {};