Univention Bugzilla – Attachment 8408 Details for
Bug 43507
Partitions with deactivated quota have no default action
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
43507.patch (text/plain), 588 bytes, created by
Jürn Brodersen
on 2017-02-07 12:12:32 CET
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Jürn Brodersen
Created:
2017-02-07 12:12:32 CET
Size:
588 bytes
patch
obsolete
>Index: umc/js/quota.js >=================================================================== >--- umc/js/quota.js (revision 76482) >+++ umc/js/quota.js (working copy) >@@ -150,11 +150,20 @@ > } > }]; > >+ var defaultAction = function(partitionName, partitionInfos) { >+ if (partitionInfos[0].inUse) { >+ return "edit"; >+ } else { >+ return "activate"; >+ } >+ }; >+ > this._grid = new Grid({ > region: 'main', > actions: actions, > columns: columns, > moduleStore: this.moduleStore, >+ defaultAction: defaultAction, > query: { > dummy: 'dummy' > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 43507
: 8408