17 lines
351 B
JavaScript
17 lines
351 B
JavaScript
|
/**
|
||
|
* @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();
|
||
|
}
|
||
|
};
|
||
|
});
|