mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Add missing print function to the framework base
This commit is contained in:
parent
6db1339365
commit
1e93cb8224
@ -994,5 +994,21 @@ var fw_base = Class.extend({
|
||||
{
|
||||
return win;
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Print function prints the active window
|
||||
*/
|
||||
print: function()
|
||||
{
|
||||
if (this.activeApp && this.activeApp.appName != 'manual')
|
||||
{
|
||||
var appWindow = this.egw_appWindow(this.activeApp.appName);
|
||||
if (appWindow)
|
||||
{
|
||||
appWindow.focus();
|
||||
appWindow.print();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user