diff --git a/SimpleTaskSystem/SimpleTaskSystem.WebSpaAngular/App/Main/images/abp-logo.png b/SimpleTaskSystem/SimpleTaskSystem.WebSpaAngular/App/Main/images/abp-logo.png deleted file mode 100644 index d25e6263d..000000000 Binary files a/SimpleTaskSystem/SimpleTaskSystem.WebSpaAngular/App/Main/images/abp-logo.png and /dev/null differ diff --git a/SimpleTaskSystem/SimpleTaskSystem.WebSpaAngular/App/Main/views/task/new.js b/SimpleTaskSystem/SimpleTaskSystem.WebSpaAngular/App/Main/views/task/new.js index 41ab0f5ae..9776eba06 100644 --- a/SimpleTaskSystem/SimpleTaskSystem.WebSpaAngular/App/Main/views/task/new.js +++ b/SimpleTaskSystem/SimpleTaskSystem.WebSpaAngular/App/Main/views/task/new.js @@ -21,15 +21,16 @@ }); vm.saveTask = function() { - abp.ui.setBusy(null, { - promise: taskService.createTask(vm.task) - .success(function() { - abp.notify.info(abp.utils.formatString(localize("TaskCreatedMessage"), vm.task.description)); - $location.path('/'); - }) - }); + abp.ui.setBusy( + null, + taskService.createTask( + vm.task + ).success(function() { + abp.notify.info(abp.utils.formatString(localize("TaskCreatedMessage"), vm.task.description)); + $location.path('/'); + }) + ); }; - } ]); })(); \ No newline at end of file diff --git a/SimpleTaskSystem/SimpleTaskSystem.WebSpaAngular/SimpleTaskSystem.WebSpaAngular.csproj b/SimpleTaskSystem/SimpleTaskSystem.WebSpaAngular/SimpleTaskSystem.WebSpaAngular.csproj index 3a86da86c..63f4c242a 100644 --- a/SimpleTaskSystem/SimpleTaskSystem.WebSpaAngular/SimpleTaskSystem.WebSpaAngular.csproj +++ b/SimpleTaskSystem/SimpleTaskSystem.WebSpaAngular/SimpleTaskSystem.WebSpaAngular.csproj @@ -179,7 +179,6 @@ - main.less diff --git a/SimpleTaskSystem/SimpleTaskSystem.WebSpaDurandal/App/Main/viewmodels/newtask.js b/SimpleTaskSystem/SimpleTaskSystem.WebSpaDurandal/App/Main/viewmodels/newtask.js index c0c19409a..92bc52b70 100644 --- a/SimpleTaskSystem/SimpleTaskSystem.WebSpaDurandal/App/Main/viewmodels/newtask.js +++ b/SimpleTaskSystem/SimpleTaskSystem.WebSpaDurandal/App/Main/viewmodels/newtask.js @@ -33,13 +33,14 @@ return; } - abp.ui.setBusy(_$view, { - promise: taskService.createTask(ko.mapping.toJS(that.task)) - .done(function () { - abp.notify.info(abp.utils.formatString(localize("TaskCreatedMessage"), that.task.description())); - history.navigate(''); - }) - }); + abp.ui.setBusy(_$view, + taskService.createTask( + ko.mapping.toJS(that.task) + ).done(function() { + abp.notify.info(abp.utils.formatString(localize("TaskCreatedMessage"), that.task.description())); + history.navigate(''); + }) + ); }; }; }); \ No newline at end of file diff --git a/SimpleTaskSystem/SimpleTaskSystem.WebSpaDurandal/App/Main/views/newtask.cshtml b/SimpleTaskSystem/SimpleTaskSystem.WebSpaDurandal/App/Main/views/newtask.cshtml index 430969ee5..fe8b429e2 100644 --- a/SimpleTaskSystem/SimpleTaskSystem.WebSpaDurandal/App/Main/views/newtask.cshtml +++ b/SimpleTaskSystem/SimpleTaskSystem.WebSpaDurandal/App/Main/views/newtask.cshtml @@ -1,11 +1,13 @@ -
-
- - -
-
- - -
- -
\ No newline at end of file +
+
+
+ + +
+
+ + +
+ +
+
\ No newline at end of file diff --git a/SimpleTaskSystem/SimpleTaskSystem.WebSpaDurandal/SimpleTaskSystem.WebSpaDurandal.csproj b/SimpleTaskSystem/SimpleTaskSystem.WebSpaDurandal/SimpleTaskSystem.WebSpaDurandal.csproj index dff8de2d5..5a8f1fbb8 100644 --- a/SimpleTaskSystem/SimpleTaskSystem.WebSpaDurandal/SimpleTaskSystem.WebSpaDurandal.csproj +++ b/SimpleTaskSystem/SimpleTaskSystem.WebSpaDurandal/SimpleTaskSystem.WebSpaDurandal.csproj @@ -364,7 +364,6 @@ -