cms/app-client/app/components/toolbar-component.js
changeset 254 a7cf2887e993
parent 251 ac320de33ec7
child 373 e952c8a31a2b
equal deleted inserted replaced
253:0be9770b09b4 254:a7cf2887e993
     6 
     6 
     7 	classNames: ['toolbar-component'],
     7 	classNames: ['toolbar-component'],
     8 
     8 
     9 	actions: {
     9 	actions: {
    10 
    10 
    11 		display: function(element) {
    11 		display: function(el) {
    12 			if(element === 'video') {
    12 			this.get('player').displayAdditionalInformation(el);
    13 				this.get('player').set('reduce', !this.get('player').get('reduce'));
       
    14 			} else {
       
    15 				this.get('player').display(element);
       
    16 			}
       
    17 		}
    13 		}
    18 
    14 
    19 	}
    15 	}
    20 
    16 
    21 });
    17 });