* Notes on validation framework usage
This commit is contained in:
parent
b8c42810ea
commit
34a8bdae21
|
@ -538,7 +538,8 @@ function FullScreenEditorModule(options) {
|
||||||
this.mciReadyHandler = function(mciData, cb) {
|
this.mciReadyHandler = function(mciData, cb) {
|
||||||
|
|
||||||
self.createInitialViews(mciData, function viewsCreated(err) {
|
self.createInitialViews(mciData, function viewsCreated(err) {
|
||||||
|
// :TODO: Can probably be replaced with @systemMethod:validateUserNameExists when the framework is in
|
||||||
|
// place - if this is for existing usernames else validate spec
|
||||||
self.viewControllers.header.on('leave', function headerViewLeave(view) {
|
self.viewControllers.header.on('leave', function headerViewLeave(view) {
|
||||||
|
|
||||||
if(2 === view.id) { // "to" field
|
if(2 === view.id) { // "to" field
|
||||||
|
|
Loading…
Reference in New Issue