mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Implement update status for nm header objects used for mobile template (eg. action button)
This commit is contained in:
parent
c173de3935
commit
6fbdd38e33
@ -2473,6 +2473,7 @@ var et2_nextmatch_header_bar = (function(){ "use strict"; return et2_DOMWidget.e
|
||||
// Context menu
|
||||
this.action_header = jQuery(document.createElement('button'))
|
||||
.addClass('nm_action_header')
|
||||
.hide()
|
||||
.click (function(e){
|
||||
jQuery('tr.selected',self.nextmatch.div).trigger({type:'contextmenu',which:3,originalEvent:e});
|
||||
})
|
||||
|
@ -661,6 +661,10 @@ var et2_nextmatch_controller = (function(){ "use strict"; return et2_dataview_co
|
||||
senders = [];
|
||||
}
|
||||
if(!this._widget) return;
|
||||
|
||||
// inform mobile framework about nm selections, need to update status of header objects on selection
|
||||
if (egwIsMobile()) framework.nm_onselect_ctrl(this._widget, action, senders);
|
||||
|
||||
this._widget.onselect.call(this._widget, action,senders);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user