"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "horizon/static/framework/widgets/metadata/tree/metadata-tree.controller.js" between
horizon-22.1.0.tar.gz and horizon-23.0.0.tar.gz

About: OpenStack Horizon (Optional Service: Dashboard) provides a web-based self-service portal to interact with underlying OpenStack services, such as launching an instance, assigning IP addresses and configuring access controls.
The "Zed" series (latest release).

metadata-tree.controller.js  (horizon-22.1.0):metadata-tree.controller.js  (horizon-23.0.0)
skipping to change at line 41 skipping to change at line 41
* @description * @description
* Controller used by `metadataTree` * Controller used by `metadataTree`
*/ */
function MetadataTreeController(metadataTreeService, defaults) { function MetadataTreeController(metadataTreeService, defaults) {
var ctrl = this; var ctrl = this;
ctrl.availableFilter = availableFilter; ctrl.availableFilter = availableFilter;
ctrl.quickFilter = quickFilter; ctrl.quickFilter = quickFilter;
ctrl.checkNameUnique = checkNameUnique; ctrl.checkNameUnique = checkNameUnique;
ctrl.text = angular.extend({}, defaults.text, ctrl.text); ctrl.text = angular.extend({}, defaults.text, ctrl.text);
if (!ctrl.tree) {
ctrl.tree = new metadataTreeService.Tree(ctrl.available, ctrl.existing); this.$onInit = function init() {
} if (!ctrl.tree) {
ctrl.customItem = ''; ctrl.tree = new metadataTreeService.Tree(ctrl.available, ctrl.existing);
ctrl.filterText = { }
available: '', ctrl.customItem = '';
existing: '' ctrl.filterText = {
available: '',
existing: ''
};
}; };
function availableFilter(item) { function availableFilter(item) {
return !item.added && item.visible; return !item.added && item.visible;
} }
/** /**
* @ngdoc method * @ngdoc method
* @name MetadataTreeController.quickFilter * @name MetadataTreeController.quickFilter
* @description * @description
 End of changes. 1 change blocks. 
7 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)