BUG-12200 Inability to Scroll on iPAD query tab IMPROVEMENT
- It don't have the functionality.
- A validation was added in file main.js for mobile devices and add button for view dynaform.
This commit is contained in:
@@ -87,11 +87,11 @@ try {
|
||||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
window.onload = function() {
|
||||
leimnud.event.add(window,"load",function(){
|
||||
if (parent.document.getElementById('buttonOpenDynaform') != null) {
|
||||
parent.document.getElementById('buttonOpenDynaform').setAttribute('class', 'x-btn x-btn-noicon')
|
||||
parent.document.getElementById('buttonOpenDynaform').style = "width: auto;";
|
||||
}
|
||||
};
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
|
||||
@@ -497,9 +497,33 @@ var openSummaryWindow = function(appUid, delIndex, action)
|
||||
});
|
||||
|
||||
var tabs = new Array();
|
||||
var isMovil = {
|
||||
Android: function() {
|
||||
return navigator.userAgent.match(/Android/i);
|
||||
},
|
||||
BlackBerry: function() {
|
||||
return navigator.userAgent.match(/BlackBerry/i);
|
||||
},
|
||||
iOS: function() {
|
||||
return navigator.userAgent.match(/iPhone|iPad|iPod/i);
|
||||
},
|
||||
Opera: function() {
|
||||
return navigator.userAgent.match(/Opera Mini/i);
|
||||
},
|
||||
Windows: function() {
|
||||
return navigator.userAgent.match(/IEMobile/i);
|
||||
},
|
||||
other: function() {
|
||||
return navigator.userAgent.match(/Mobile/i);
|
||||
},
|
||||
any: function() {
|
||||
return isMovil.Android() || isMovil.BlackBerry() || isMovil.iOS() || isMovil.Opera() || isMovil.Windows() || isMovil.other();
|
||||
}
|
||||
};
|
||||
|
||||
tabs.push(sumaryInfPanel);
|
||||
if (response.dynUid != '') {
|
||||
if(navigator.userAgent.match(/iPad/i) != null){
|
||||
if (isMovil.any()) {
|
||||
var src = '../cases/summary?APP_UID=' + appUid + '&DEL_INDEX=' + delIndex + '&DYN_UID=' + response.dynUid;
|
||||
|
||||
var windowOpen = function() {
|
||||
|
||||
Reference in New Issue
Block a user