mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Fix link to no longer pre-selecting last used app
This commit is contained in:
parent
93a514993a
commit
286cca54e1
@ -582,7 +582,6 @@ var et2_link_entry = et2_inputWidget.extend(
|
||||
|
||||
// Application selection
|
||||
this.app_select = $j(document.createElement("select")).appendTo(this.div)
|
||||
.val(this.options.value.app||'')
|
||||
.change(function(e) {
|
||||
// Clear cache when app changes
|
||||
self.cache = {};
|
||||
@ -607,6 +606,11 @@ var et2_link_entry = et2_inputWidget.extend(
|
||||
this.app_select.hide();
|
||||
this.div.addClass("no_app");
|
||||
}
|
||||
else
|
||||
{
|
||||
// Now that options are in, set to last used app
|
||||
this.app_select.val(this.options.value.app||'');
|
||||
}
|
||||
|
||||
// Search input
|
||||
this.search = $j(document.createElement("input"))
|
||||
|
Loading…
Reference in New Issue
Block a user