tao-test/app/tao/views/js/controller/users/disable-edit.js

17 lines
351 B
JavaScript
Raw Normal View History

2022-08-29 20:14:13 +02:00
/**
* @author Bertrand Chevrier <bertrand@taotesting.com>
*/
define(['layout/section'], function(section) {
'use strict';
/**
* Ensure edit section is disabled
* @exports controller/users/disable-edit
*/
return {
start : function(){
section.get('edit_user').disable();
}
};
});