View | Details | Raw Unified | Return to bug 40991
Collapse All | Expand All

(-)a/management/univention-appcenter/umc/js/appcenter.js (-5 / +7 lines)
 Lines 137-147   define([ Link Here 
137
		_getModuleStateAttr: function() {
137
		_getModuleStateAttr: function() {
138
			var state = [];
138
			var state = [];
139
			var _selectedWidget = lang.getObject('selectedChildWidget', false, this);
139
			var _selectedWidget = lang.getObject('selectedChildWidget', false, this);
140
			var _app = lang.getObject('selectedChildWidget.app', false, this);
140
			if (this.moduleFlavor == 'appcenter') {
141
			if (_selectedWidget == this._appCenterPage) {
141
				var _app = lang.getObject('selectedChildWidget.app', false, this);
142
				state = ['category', this._appCenterPage._searchSidebar.get('category')];
142
				if (_selectedWidget == this._appCenterPage) {
143
			} else if (_app) {
143
					state = ['category', this._appCenterPage._searchSidebar.get('category')];
144
				state = ['id', _app.id];
144
				} else if (_app) {
145
					state = ['id', _app.id];
146
				}
145
			}
147
			}
146
			return state.join(':');
148
			return state.join(':');
147
		},
149
		},

Return to bug 40991