mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
fix 2 JS errors in mobile mail, while search for another
This commit is contained in:
parent
41e102f015
commit
c897b03f71
@ -4700,7 +4700,7 @@ app.classes.mail = AppJS.extend(
|
|||||||
|
|
||||||
if (typeof widgets[widget].widget != 'undefined'
|
if (typeof widgets[widget].widget != 'undefined'
|
||||||
&& typeof widgets[expanderBtn].widget != 'undefined'
|
&& typeof widgets[expanderBtn].widget != 'undefined'
|
||||||
&& widgets[widget].widget.get_value().length == 0
|
&& (!widgets[widget].widget.value || !widgets[widget].widget.value.length)
|
||||||
&& actions.indexOf(expanderBtn)<0)
|
&& actions.indexOf(expanderBtn)<0)
|
||||||
{
|
{
|
||||||
widgets[expanderBtn].widget.set_disabled(false);
|
widgets[expanderBtn].widget.set_disabled(false);
|
||||||
|
@ -834,7 +834,7 @@ import {tapAndSwipe} from "../../api/js/tapandswipe";
|
|||||||
{
|
{
|
||||||
for (var i=0; i < window.framework.popups.length; i++)
|
for (var i=0; i < window.framework.popups.length; i++)
|
||||||
{
|
{
|
||||||
if (window.framework.popups[i].$iFrame[0].contentWindow === _wnd)
|
if (window.framework.popups[i].$iFrame && window.framework.popups[i].$iFrame[0].contentWindow === _wnd)
|
||||||
{
|
{
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user