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

(-)umc/js/quota.js (+9 lines)
 Lines 150-160    Link Here 
150
				}
150
				}
151
			}];
151
			}];
152
152
153
			var defaultAction = function(partitionName, partitionInfos) {
154
				if (partitionInfos[0].inUse) {
155
					return "edit";
156
				} else {
157
					return "activate";
158
				}
159
			};
160
153
			this._grid = new Grid({
161
			this._grid = new Grid({
154
				region: 'main',
162
				region: 'main',
155
				actions: actions,
163
				actions: actions,
156
				columns: columns,
164
				columns: columns,
157
				moduleStore: this.moduleStore,
165
				moduleStore: this.moduleStore,
166
				defaultAction: defaultAction,
158
				query: {
167
				query: {
159
					dummy: 'dummy'
168
					dummy: 'dummy'
160
				}
169
				}

Return to bug 43507