Changeset 61592 in vbox for trunk/src/VBox/ValidationKit/testmanager/webui
- Timestamp:
- Jun 8, 2016 8:10:20 PM (9 years ago)
- Location:
- trunk/src/VBox/ValidationKit/testmanager/webui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/webui/wuiadmin.py
r61502 r61592 506 506 oTestBox.fEnabled = fEnable; 507 507 oLogic.editEntry(oTestBox, self._oCurUser.uid, fCommit = False); 508 elif sListAction == 'setgroup':509 for oTestBox in aoTestBoxes:510 if oTestBox.idSchedGroup != idAction:511 oTestBox.idSchedGroup = idAction;512 oLogic.editEntry(oTestBox, self._oCurUser.uid, fCommit = False);513 508 else: 514 509 for oTestBox in aoTestBoxes: 515 510 if oTestBox.enmPendingCmd != sListAction: 516 oTestBox.enmPendingCmd = sListAction; 517 oLogic.editEntry(oTestBox, self._oCurUser.uid, fCommit = False); 511 oLogic.setCommand(idTestBox, oTestBox.enmPendingCmd, sListAction, self._oCurUser.uid, fCommit = False); 518 512 self._oDb.commit(); 519 513 -
trunk/src/VBox/ValidationKit/testmanager/webui/wuiadmintestbox.py
r61502 r61592 190 190 'align="center"' ]); 191 191 self._aoActions = list(self.kasTestBoxActionDescs); 192 self._aoSchedGroups = SchedGroupLogic(self._oDisp.getDb()).fetchOrderedByName();193 self._dSchedGroups = dict();194 for oSchedGroup in self._aoSchedGroups:195 self._aoActions.append([ 'setgroup-%u' % (oSchedGroup.idSchedGroup,),196 'Migrate to group %s (#%u)' % (oSchedGroup.sName, oSchedGroup.idSchedGroup,),197 oSchedGroup.sDescription ]);198 self._dSchedGroups[oSchedGroup.idSchedGroup] = oSchedGroup;199 192 self._sAction = oDisp.ksActionTestBoxListPost; 200 193 self._sCheckboxName = TestBoxData.ksParam_idTestBox;
Note:
See TracChangeset
for help on using the changeset viewer.