[BUGFIX] Improve preview of InputLinkelement 92/51592/9
authorGeorg Ringer <georg.ringer@gmail.com>
Wed, 8 Feb 2017 18:49:23 +0000 (19:49 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Wed, 22 Feb 2017 08:23:14 +0000 (09:23 +0100)
commit767d7cfcf54f3759f87bc134acda7f333e21e7d0
tree84ff53065a6e1350601d765d5390237b9d1a5dc0
parent3ca7d0bb1c2041c521626ecefb96044deffcf895
[BUGFIX] Improve preview of InputLinkelement

- Use a div instead of an input field to avoid issues like
  tooltip not shown because of the disabled attribute.
- Trigger onchange from LinkBrowser popup
- If no value found, show the input field, which makes it easier
  to e.g. enter an external url.
- Show helpful title for toggle button on hover

Resolves: #79667
Related: #79670
Releases: master
Change-Id: If00d892d0ae7aebe0dfc5f17f5d43af16d0ee730
Reviewed-on: https://review.typo3.org/51592
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Build/Resources/Public/Less/TYPO3/_element_tceforms.less
typo3/sysext/backend/Classes/Form/Element/InputLinkElement.php
typo3/sysext/backend/Resources/Public/Css/backend.css
typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js
typo3/sysext/backend/Resources/Public/JavaScript/FormEngineLinkBrowserAdapter.js
typo3/sysext/lang/Resources/Private/Language/locallang_core.xlf