(js) Restore calendar name on error

pull/229/merge
Francis Lachapelle 2018-08-31 09:39:42 -04:00
parent 1e784e4590
commit 155114c8fb
1 changed files with 1 additions and 0 deletions

View File

@ -117,6 +117,7 @@
$ctrl.updateCalendarName();
}, function() {
$ctrl.editMode = true;
$ctrl.inputElement.value = $ctrl.calendar.name;
$timeout(function() {
$ctrl.inputElement.focus();
$ctrl.inputElement.select();