From 5d2996d0e20d6e269cb6fce7e61102807030ebba Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Fri, 21 Oct 2016 15:06:38 +0200 Subject: [PATCH] autoselect study share inputs --- ui/analyse/src/study/studyShare.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/analyse/src/study/studyShare.js b/ui/analyse/src/study/studyShare.js index ee1c83c4fc..6a453c237b 100644 --- a/ui/analyse/src/study/studyShare.js +++ b/ui/analyse/src/study/studyShare.js @@ -31,7 +31,7 @@ module.exports = { m('h2', 'Share & export'), m('form.material.form', [ m('div.form-group', [ - m('input.has-value', { + m('input.has-value.autoselect', { readonly: true, value: baseUrl + studyId }), @@ -39,7 +39,7 @@ module.exports = { m('i.bar') ]), m('div.form-group', [ - m('input.has-value', { + m('input.has-value.autoselect', { readonly: true, value: baseUrl + studyId + '#' + chapter.id }), @@ -47,7 +47,7 @@ module.exports = { m('i.bar') ]), m('div.form-group', [ - m('input.has-value', { + m('input.has-value.autoselect', { readonly: true, disabled: !ctrl.isPublic(), value: ctrl.isPublic() ? '' : 'Only public studies can be embedded.'