diff --git a/lib/controller/dash/node_3.js b/lib/controller/dash/node_3.js
index f6dd2ac..75962a3 100644
--- a/lib/controller/dash/node_3.js
+++ b/lib/controller/dash/node_3.js
@@ -24,7 +24,7 @@
var W = p.getWidth();
var H = 9*(W/16) - 28;
- if( %%%APPTYPE%%% == 33 ){
+ if( %%%APPTYPE%%% == 1 ){
H = PanelH - p.ownerCt.getHeight() + 64;
if( H > ( W * 0.5625 )+ 32 ){
H = ( W * 0.5625 ) + 32;
diff --git a/lib/controller/getMetroBottomSensorEditor.php b/lib/controller/getMetroBottomSensorEditor.php
index 502dd2d..86ebba6 100644
--- a/lib/controller/getMetroBottomSensorEditor.php
+++ b/lib/controller/getMetroBottomSensorEditor.php
@@ -72,13 +72,13 @@ lskdjflsdsdf;
SID: '{$Session}',
SNID: '{$SI}',
OPID: 19,
- OFF: oset,
- ORD: oder,
- DEL: odel,
- FLI: ofli,
- WIZ: owid,
- SST: osst,
- SUN: osun
+ MOFF: oset,
+ MORD: oder,
+ MDEL: odel,
+ MFLI: ofli,
+ MWIZ: owid,
+ MSST: osst,
+ MSUN: osun
},
success: function( response, opts ){
Ext.Msg.show({
diff --git a/lib/controller/getMetroUpperSensorEditor.php b/lib/controller/getMetroUpperSensorEditor.php
index 40d31b1..0f396b0 100644
--- a/lib/controller/getMetroUpperSensorEditor.php
+++ b/lib/controller/getMetroUpperSensorEditor.php
@@ -72,13 +72,13 @@ lskdjflsdsdf;
SID: '{$Session}',
SNID: '{$SI}',
OPID: 19,
- OFF: oset,
- ORD: oder,
- DEL: odel,
- FLI: ofli,
- WIZ: owid,
- SST: osst,
- SUN: osun
+ MOFF: oset,
+ MORD: oder,
+ MDEL: odel,
+ MFLI: ofli,
+ MWIZ: owid,
+ MSST: osst,
+ MSUN: osun
},
success: function( response, opts ){
Ext.Msg.show({
diff --git a/lib/controller/report/node_3.js b/lib/controller/report/node_3.js
index 4094b5a..bea5631 100644
--- a/lib/controller/report/node_3.js
+++ b/lib/controller/report/node_3.js
@@ -21,7 +21,7 @@
var W = p.getWidth();
var H = 9*(W/16) - 28;
- if( %%%APPTYPE%%% == 2 ){
+ if( %%%APPTYPE%%% == 1 ){
H = PanelH - p.ownerCt.getHeight() + 64;
if( H > W + 60 ){
H = W + 60;
diff --git a/lib/javascript/jsapi_dynamic/mojo_dashboard.js b/lib/javascript/jsapi_dynamic/mojo_dashboard.js
index 29ef252..dea0f9f 100644
--- a/lib/javascript/jsapi_dynamic/mojo_dashboard.js
+++ b/lib/javascript/jsapi_dynamic/mojo_dashboard.js
@@ -834,11 +834,11 @@ function draw2DMasks( a, zzz='' ){
var colors=['#FF0000','#FFFF00','#00FF00','#203080','#0000FF','#FaFF00'];
//var cpx = bBox.width / 2.0;
//var cpy = bBox.height / 2.0;
- var max = 1024.0;
+ var max = 2048.0;
switch( drawZoomLevels[a] ){
- case 50: max = 512.0; break;
- case 25: max = 256.0; break;
- case 12: max = 128.0; break;
+ case 50: max = 1024.0; break;
+ case 25: max = 512.0; break;
+ case 12: max = 256.0; break;
};
//var rk = bBox.width / ( max * 2 );
var cpx= 287.0;
@@ -868,6 +868,7 @@ function draw2DMasks( a, zzz='' ){
newpath.setAttributeNS(null, "fill-opacity", "1.0");
};
newpath.setAttributeNS(null, "id", "mask_"+a+"_"+i+"_"+k );
+ console.log( "Added Poly: mask_"+a+"_"+i+"_"+k );
newpath.setAttributeNS(null, "clip-path", "url(#svg_mask_"+a+")" );
var tch = csvg.getElementById( "border_"+a );
if( tch != undefined ){
diff --git a/lib/javascript/jsapi_dynamic/mojo_global_vars.js b/lib/javascript/jsapi_dynamic/mojo_global_vars.js
index 4ef468f..9a31ddf 100644
--- a/lib/javascript/jsapi_dynamic/mojo_global_vars.js
+++ b/lib/javascript/jsapi_dynamic/mojo_global_vars.js
@@ -14,7 +14,7 @@ var content_lvl0= -1;
var content_lvl1= -1;
var content_lvl2= -1;
var content_lvl3= -1;
-var SoundMode==intval($CUser->Data['sound_enable']);?>;
+var SoundMode==($AP_DATA['type']==1)?0:intval($CUser->Data['sound_enable']);?>;
var PanelW = winW;
var PanelH = winH-90;
var SelectedSite = =$SiteID;?>;
diff --git a/lib/javascript/jsapi_dynamic/mojo_settings.js b/lib/javascript/jsapi_dynamic/mojo_settings.js
index 91e1a2c..4f574b6 100644
--- a/lib/javascript/jsapi_dynamic/mojo_settings.js
+++ b/lib/javascript/jsapi_dynamic/mojo_settings.js
@@ -2359,129 +2359,9 @@ function showSettingsApplication(){
}
}
}]
- }/*,{
- title: '=$Labels->GetLabel('_MONIT_LAYOUT_');?>',
- layout:'table',
- defaults: {
- // applied to each contained panel
- bodyStyle:'padding:5px'
- },
- layoutConfig: {
- // The total column count must be specified here
- columns: 3
- },
- frame: false,
- border: false,
- height: PanelH - 30,
- items:[{
- xtype: 'spacer',
- width: 100
- },{
- xtype: 'radio',
- width: '100%',
- name: 'layo_apa',
- id: 'db_layout_0',
- checked: ( =$AP_DATA['app_layout'];?> == 0 ),
- listeners:{
- check: function( t, state ){
- if( state ) doApplicationOperation( 2, 0 );
- }
- }
- },{
- frame: false,
- border: false,
- html: '
'
- },{
- xtype: 'spacer',
- width: 100
- },{
- xtype: 'radio',
- width: '100%',
- name: 'layo_apa',
- id: 'db_layout_1',
- checked: ( =$AP_DATA['app_layout'];?> == 1 ),
- listeners:{
- check: function( t, state ){
- if( state ) doApplicationOperation( 2, 1 );
- }
- }
- },{
- frame: false,
- border: false,
- html: '
'
- },{
- xtype: 'spacer',
- width: 100
- },{
- xtype: 'radio',
- name: 'layo_apa',
- id: 'db_layout_2',
- checked: ( =$AP_DATA['app_layout'];?> == 2 ),
- listeners:{
- check: function( t, state ){
- if( state ) doApplicationOperation( 2, 2 );
- }
- }
- },{
- frame: false,
- border: false,
- html: '
'
- },{
- xtype: 'spacer',
- width: 100
- },{
- xtype: 'radio',
- width: '100%',
- name: 'layo_apa',
- id: 'db_layout_3',
- checked: ( =$AP_DATA['app_layout'];?> == 3 ),
- listeners:{
- check: function( t, state ){
- if( state ) doApplicationOperation( 2, 3 );
- }
- }
- },{
- frame: false,
- border: false,
- html: '
'
- },{
- xtype: 'spacer',
- width: 100
- },{
- xtype: 'radio',
- width: '100%',
- name: 'layo_apa',
- id: 'db_layout_4',
- checked: ( =$AP_DATA['app_layout'];?> == 4 ),
- listeners:{
- check: function( t, state ){
- if( state ) doApplicationOperation( 2, 4 );
- }
- }
- },{
- frame: false,
- border: false,
- html: '
'
- },{
- xtype: 'spacer',
- width: 100
- },{
- xtype: 'radio',
- width: '100%',
- name: 'layo_apa',
- id: 'db_layout_5',
- checked: ( =$AP_DATA['app_layout'];?> == 5 ),
- listeners:{
- check: function( t, state ){
- if( state ) doApplicationOperation( 2, 5 );
- }
- }
- },{
- frame: false,
- border: false,
- html: '
'
- }]
- }*/,{
+ },
+
+ {
title: '=$Labels->GetLabel('_GEO_LOCATION_');?>',
layout: 'column',
items:[{
@@ -2632,7 +2512,8 @@ function showSettingsApplication(){
html:'