Fix undefined Constants
This commit is contained in:
parent
124fe2ca8e
commit
f3b4c00d7f
@ -6,6 +6,7 @@ define([
|
|||||||
'/common/common-interface.js',
|
'/common/common-interface.js',
|
||||||
'/common/common-ui-elements.js',
|
'/common/common-ui-elements.js',
|
||||||
'/common/common-feedback.js',
|
'/common/common-feedback.js',
|
||||||
|
'/common/common-constants.js',
|
||||||
'/bower_components/nthen/index.js',
|
'/bower_components/nthen/index.js',
|
||||||
'/common/sframe-common.js',
|
'/common/sframe-common.js',
|
||||||
'/common/proxy-manager.js',
|
'/common/proxy-manager.js',
|
||||||
@ -25,6 +26,7 @@ define([
|
|||||||
UI,
|
UI,
|
||||||
UIElements,
|
UIElements,
|
||||||
Feedback,
|
Feedback,
|
||||||
|
Constants,
|
||||||
nThen,
|
nThen,
|
||||||
SFCommon,
|
SFCommon,
|
||||||
ProxyManager,
|
ProxyManager,
|
||||||
@ -610,6 +612,7 @@ define([
|
|||||||
|
|
||||||
var todo = function () {
|
var todo = function () {
|
||||||
var newName = $input.val();
|
var newName = $input.val();
|
||||||
|
if (!newName.trim()) { return; }
|
||||||
$spinner.show();
|
$spinner.show();
|
||||||
APP.module.execCommand('GET_TEAM_METADATA', {
|
APP.module.execCommand('GET_TEAM_METADATA', {
|
||||||
teamId: APP.team
|
teamId: APP.team
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user