summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-02-13 05:03:30 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-02-13 05:03:30 +0100
commit8bd01962abb0fc6280a2964e63a240cbc6aa34ef (patch)
tree45a5f41ef8f101ffed8ff289466220502099b677 /src/main
parentfc427e26493d4bd070c09e5dbc348a1355c00e38 (diff)
Bookmark submission: Load title if URI was specified but title was not.
Change-Id: Idb956c72a4ecf87a2d40b5b1f382b3292eba5228
Diffstat (limited to 'src/main')
-rw-r--r--src/main/resources/META-INF/resources/bookmarks/MlkBookmarkSubmissionForm.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/resources/META-INF/resources/bookmarks/MlkBookmarkSubmissionForm.js b/src/main/resources/META-INF/resources/bookmarks/MlkBookmarkSubmissionForm.js
index 313268d..e7e6751 100644
--- a/src/main/resources/META-INF/resources/bookmarks/MlkBookmarkSubmissionForm.js
+++ b/src/main/resources/META-INF/resources/bookmarks/MlkBookmarkSubmissionForm.js
@@ -28,6 +28,7 @@ export class MlkBookmarkSubmissionForm extends HTMLElement {
uriInput.focus();
} else if (!titleInput.value) {
titleInput.focus();
+ this.onUriBlur();
} else {
descriptionInput.focus();
}