Author: hnategh
New Revision: 55857
URL: http://svn.stylite.de/viewvc/egroupware?rev=55857&view=rev
Log:
Mobile theme:
- Implement auto scrollup on INPUT or SELECT elements focus, makes it easier to enter data when mobile keyboard popups up
Modified:
trunk/jdots/js/fw_mobile.js
— trunk/jdots/js/fw_mobile.js (original)
+++ trunk/jdots/js/fw_mobile.js Tue Apr 26 18:31:07 2016
@@ -188,6 +188,15 @@
//Remove the loading class
egw.loading_prompt(‘popup’, false);
self.$iFrame.css({visibility:‘visible’});
+
-
// Auto scrollup when select input or select
-
jQuery(popupWindow).on('resize', function(){
-
if(popupWindow.document.activeElement.tagName == "INPUT" || popupWindow.document.activeElement.tagName == "SELECT"){
-
popupWindow.setTimeout(function(){
-
popupWindow.document.activeElement.scrollIntoViewIfNeeded(false);
-
},0);
-
}
-
});
});
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs