forked from extern/egroupware
Do not show open_notified button if there's no link available
This commit is contained in:
parent
de17d9a2ea
commit
56bba60b6e
@ -201,12 +201,14 @@
|
||||
.addClass('egwpopup_message_date')
|
||||
.prependTo($top_toolbar)
|
||||
.text(notifymessages[id]['created']);
|
||||
// OPEN entry button
|
||||
$open_entry = jQuery(document.createElement('span'))
|
||||
.addClass('egwpopup_message_open')
|
||||
.attr('title',egw.lang('open notified entry'))
|
||||
.click(jQuery.proxy(this.open_entry, this,[$message]))
|
||||
.prependTo($top_toolbar);
|
||||
if (notifymessages[id]['data']['id'] || notifymessages[id]['data']['url']) {
|
||||
// OPEN entry button
|
||||
$open_entry = jQuery(document.createElement('span'))
|
||||
.addClass('egwpopup_message_open')
|
||||
.attr('title',egw.lang('open notified entry'))
|
||||
.click(jQuery.proxy(this.open_entry, this,[$message]))
|
||||
.prependTo($top_toolbar);
|
||||
}
|
||||
// Delete button
|
||||
$delete = jQuery(document.createElement('span'))
|
||||
.addClass('egwpopup_delete')
|
||||
|
@ -59,7 +59,7 @@ mark all as read notifications de Alle als gelesen markieren
|
||||
mark as read notifications de Als gelesen markieren
|
||||
message from notifications de Nachricht von
|
||||
minutes notifications de Minuten
|
||||
more info notifications de Mehr ...
|
||||
more info notifications de Mehr
|
||||
notification common de Benachrichtigung
|
||||
notifier notifications de Benachrichtiger
|
||||
notify me by notifications de Benachrichtige mich per
|
||||
|
Loading…
Reference in New Issue
Block a user