mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-14 10:28:31 +02:00
Add ability to specify which actions are available for the no results placeholder
This commit is contained in:
@ -210,7 +210,17 @@ var et2_nextmatch_controller = et2_dataview_controller.extend(
|
||||
}
|
||||
|
||||
// No UID, so return a filtered list of actions that doesn't need a UID
|
||||
var links = ["add"];
|
||||
var links = [];
|
||||
try {
|
||||
links = this._widget.options.settings.placeholder_actions;
|
||||
} catch (e) {
|
||||
}
|
||||
// Default
|
||||
if(typeof links == "undefined")
|
||||
{
|
||||
links = ["add"];
|
||||
}
|
||||
|
||||
return links;
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user