forked from extern/egroupware
Fix link to no longer pre-selecting last used app
This commit is contained in:
parent
a7708a8773
commit
e906d4f67a
@ -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