* Notes on validation framework usage
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user