mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-31 19:19:43 +01:00
Fix not able to un-select linked entry / select none
This commit is contained in:
parent
0d357ee448
commit
8290224b7b
@ -898,8 +898,11 @@ var et2_link_entry = et2_inputWidget.extend(
|
||||
* User selected a value
|
||||
*/
|
||||
select: function(event, selected) {
|
||||
// Correct changed value from server
|
||||
selected.item.value = selected.item.value.trim();
|
||||
if(selected.item.value !== null)
|
||||
{
|
||||
// Correct changed value from server
|
||||
selected.item.value = selected.item.value.trim();
|
||||
}
|
||||
if(this.options.select && typeof this.options.select == 'function')
|
||||
{
|
||||
if(!this.options.select(event, selected)) return false;
|
||||
@ -991,7 +994,7 @@ et2_register_widget(et2_link_entry, ["link-entry"]);
|
||||
*
|
||||
* @augments et2_valueWidget
|
||||
*/
|
||||
var et2_link = et2_valueWidget.extend([et2_IDetachedDOM],
|
||||
var et2_link = et2_valueWidget.extend([et2_IDetachedDOM],
|
||||
{
|
||||
attributes: {
|
||||
"only_app": {
|
||||
|
Loading…
Reference in New Issue
Block a user