mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +01:00
Set placeholder action to 'new' (instead of default add) to avoid copy & sub when there's no entries shown
This commit is contained in:
parent
52d339305e
commit
95721656c1
@ -813,6 +813,9 @@ class infolog_ui
|
|||||||
|
|
||||||
//apply infolog_filter2_change javascript method (show/hide details each rows) over onchange filter2
|
//apply infolog_filter2_change javascript method (show/hide details each rows) over onchange filter2
|
||||||
$values['nm']['filter2_onchange'] = "app.infolog.filter2_change();";
|
$values['nm']['filter2_onchange'] = "app.infolog.filter2_change();";
|
||||||
|
|
||||||
|
// Allow add actions even when there's no rows
|
||||||
|
$values['nm']['placeholder_actions'] = array('new');
|
||||||
|
|
||||||
// disable columns for main entry as set in the pref for details or no details
|
// disable columns for main entry as set in the pref for details or no details
|
||||||
if ($action == 'sp')
|
if ($action == 'sp')
|
||||||
|
Loading…
Reference in New Issue
Block a user