Browse Source

add confirmation to ~shorten URL~ in DMs to tmobile

readme-update
Simon Grim 9 years ago
parent
commit
d63918dac6
  1. 5
      js/interface_common.js

5
js/interface_common.js

@ -2484,7 +2484,10 @@ $(document).ready(function () { @@ -2484,7 +2484,10 @@ $(document).ready(function () {
cbConfirm: openRequestShortURIForm,
cbConfirmReq: event
});
else
else if ($.mobile && postAreaNew.closest('.dm-form').length) {
if (confirm(polyglot.t('shorten_URI_its_public_is_it_ok')))
openRequestShortURIForm(event);
} else
openRequestShortURIForm(event);
}
)

Loading…
Cancel
Save