mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
fix problem with undefined var w_h in javascript
This commit is contained in:
parent
47bf4d0824
commit
e2b160aede
@ -2577,6 +2577,10 @@ app.classes.mail = AppJS.extend(
|
||||
*/
|
||||
mail_infolog: function(_action, _elems)
|
||||
{
|
||||
//define/preset w_h in case something fails
|
||||
var reg = '750x580';
|
||||
var w_h =reg.split('x');
|
||||
|
||||
if (typeof _elems == 'undefined' || _elems.length==0)
|
||||
{
|
||||
if (this.et2.getArrayMgr("content").getEntry('mail_id'))
|
||||
@ -2604,7 +2608,7 @@ app.classes.mail = AppJS.extend(
|
||||
}
|
||||
if (typeof app_registry['edit'] != 'undefined' && typeof app_registry['edit_popup'] != 'undefined' )
|
||||
{
|
||||
var w_h =app_registry['edit_popup'].split('x');
|
||||
w_h =app_registry['edit_popup'].split('x');
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2622,6 +2626,9 @@ app.classes.mail = AppJS.extend(
|
||||
*/
|
||||
mail_tracker: function(_action, _elems)
|
||||
{
|
||||
//define/preset w_h in case something fails
|
||||
var reg = '780x535';
|
||||
var w_h =reg.split('x');
|
||||
if (typeof _elems == 'undefined' || _elems.length==0)
|
||||
{
|
||||
if (this.et2.getArrayMgr("content").getEntry('mail_id'))
|
||||
@ -2649,7 +2656,7 @@ app.classes.mail = AppJS.extend(
|
||||
}
|
||||
if (typeof app_registry['add'] != 'undefined' && typeof app_registry['add_popup'] != 'undefined' )
|
||||
{
|
||||
var w_h =app_registry['add_popup'].split('x');
|
||||
w_h =app_registry['add_popup'].split('x');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user