diff --git a/index.html b/index.html index d2a3546..1a095a2 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@
+ :unique.sync="unique">
@@ -25,7 +25,7 @@ + :unique.sync="unique"> diff --git a/static/css/index.css b/static/css/index.css index 89fad40..ed39b9f 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -478,16 +478,10 @@ header [class*=" icon-"] { .ui-sub-item .ui-item-error { margin: 5px 0 -10px; } -.ui-submit-tips:before, .ui-item-error span:before { content: '* '; font-weight: bold;; } -.ui-submit-tips { - color: #f00; - text-align: center; - padding: 0 0 15px; -} .ui-no-data { position: absolute; top: 32px; diff --git a/static/js/app/index.js b/static/js/app/index.js index f1c9e0e..5d4050b 100644 --- a/static/js/app/index.js +++ b/static/js/app/index.js @@ -25,7 +25,7 @@ window.addEventListener('DOMContentLoaded', function (){ configure: configure }, computed: { - uniqueProjects: function (){ + unique: function (){ var cache = {}; this.configure.projects.forEach(function (project){ @@ -56,7 +56,8 @@ window.addEventListener('DOMContentLoaded', function (){ configure.projects = configure.projects || []; app.configure = configure; - app.$broadcast('configure-refresh'); + app.$broadcast('reset-input'); + app.$broadcast('reset-error'); } else { init(configure); } diff --git a/static/js/components/app-configure/app-configure.html b/static/js/components/app-configure/app-configure.html index ebdb07e..b5217a2 100644 --- a/static/js/components/app-configure/app-configure.html +++ b/static/js/components/app-configure/app-configure.html @@ -16,10 +16,9 @@
-
{{ submitError }}
-
+