Updated dropdowns to hide after option click

Fixes #429
This commit is contained in:
Dan Brown
2017-07-22 14:02:47 +01:00
parent 2ea7e10923
commit bc067e9ad4
2 changed files with 24 additions and 18 deletions

View File

@ -379,7 +379,7 @@ module.exports = function (ngApp, events) {
*/
$scope.discardDraft = function () {
let url = window.baseUrl('/ajax/page/' + pageId);
$http.get(url).then((responseData) => {
$http.get(url).then(responseData => {
if (autoSave) $interval.cancel(autoSave);
$scope.draftText = trans('entities.pages_editing_page');
$scope.isUpdateDraft = false;