From cf4593917f23ef5ae9155e144802b8dcafea550f Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Fri, 27 Mar 2015 15:33:44 -0400 Subject: [PATCH] More form validation --- UI/PreferencesUI/UIxAccountEditor.m | 5 --- .../PreferencesUI/UIxAccountEditor.wox | 35 ++++++++++--------- UI/WebServerResources/js/PreferencesUI.js | 8 +++-- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/UI/PreferencesUI/UIxAccountEditor.m b/UI/PreferencesUI/UIxAccountEditor.m index 57391d134..6288abf8c 100644 --- a/UI/PreferencesUI/UIxAccountEditor.m +++ b/UI/PreferencesUI/UIxAccountEditor.m @@ -94,9 +94,4 @@ return result; } -- (NSString *) accountId -{ - return accountId; -} - @end diff --git a/UI/Templates/PreferencesUI/UIxAccountEditor.wox b/UI/Templates/PreferencesUI/UIxAccountEditor.wox index 45a3cee4b..5f8ee04a0 100644 --- a/UI/Templates/PreferencesUI/UIxAccountEditor.wox +++ b/UI/Templates/PreferencesUI/UIxAccountEditor.wox @@ -13,42 +13,44 @@ > - -
+ + - + - + + ng-readonly="accountId == 0" ng-model="account.port"/> - - - + + + - + - +