This repository has been archived by the owner on May 3, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EZP-25248: Be able to empty the Trash
- Loading branch information
1 parent
a3be8d5
commit a8cec96
Showing
21 changed files
with
768 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* | ||
* Copyright (C) eZ Systems AS. All rights reserved. | ||
* For full copyright and license information view LICENSE file distributed with this source code. | ||
*/ | ||
YUI.add('ez-trashbarview', function (Y) { | ||
"use strict"; | ||
/** | ||
* Provides the Trash Bar class | ||
* | ||
* @module ez-trashbarview | ||
*/ | ||
Y.namespace('eZ'); | ||
|
||
/** | ||
* The trash bar | ||
* | ||
* @namespace eZ | ||
* @class TrashBarView | ||
* @constructor | ||
* @extends eZ.BarView | ||
*/ | ||
Y.eZ.TrashBarView = Y.Base.create('trashBarView', Y.eZ.BarView, [], { | ||
}, { | ||
ATTRS: { | ||
/** | ||
* An array of {{#crossLink | ||
* "eZ.ButtonActionView"}}eZ.ButtonActionView{{/crossLink}} | ||
* | ||
* @attribute actionsList | ||
* @type Array | ||
*/ | ||
actionsList: { | ||
valueFn: function () { | ||
return [ | ||
new Y.eZ.ButtonActionView({ | ||
actionId: "minimizeTrashBar", | ||
disabled: false, | ||
label: "Minimize", | ||
priority: 1000 | ||
}), | ||
new Y.eZ.ButtonActionView({ | ||
actionId: "emptyTrash", | ||
disabled: false, | ||
label: "Empty the Trash", | ||
priority: 10 | ||
}), | ||
]; | ||
} | ||
}, | ||
} | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.