Modified: trunk/opsview-core/share/_javascript_/forms.js
===================================================================
--- trunk/opsview-core/share/_javascript_/forms.js 2013-02-27 15:53:17 UTC (rev 11612)
+++ trunk/opsview-core/share/_javascript_/forms.js 2013-02-27 16:28:32 UTC (rev 11613)
@@ -30,12 +30,16 @@
});
}
-function hideIfAllUnchecked(thisForm, boxName, hideName) {
+function hideIfAllUnchecked(thisForm, boxName, hideName, reversed) {
var i;
var hide = true;
+ var checked = true;
+ if (reversed) {
+ checked = false;
+ }
jQuery(':input', thisForm).each(function(){
if (this.name.match(boxName)) {
- if (this.checked == true) {
+ if (this.checked == checked) {
hide = false;
}
}
Property changes on: trunk/opsview-core/share/_javascript_/forms.js
___________________________________________________________________
Added: svn:mergeinfo
+ /branches/DEV-capside/release-3.9.0/opsview-core/share/_javascript_/forms.js:6365-6370
/branches/DEV-extra-notification-data/opsview-core/share/_javascript_/forms.js:6734-6746
/branches/DEV-odw-calculations/opsview-core/share/_javascript_/forms.js:9016-9160
/branches/DEV-restapi-monitoringservers/opsview-core/share/_javascript_/forms.js:9778
/branches/DEV-snmp-multi/opsview-core/share/_javascript_/forms.js:7324-7376
/branches/US187/opsview-core/share/_javascript_/forms.js:9403-9479
/branches/US198b/opsview-core/share/_javascript_/forms.js:8875-8994
/branches/US310/opsview-core/share/_javascript_/forms.js:9851-9873
/branches/enterprise/BRAN-3.14/opsview-core/share/_javascript_/forms.js:6874,6882,6956
/branches/enterprise/DEV-professional/opsview-core/share/_javascript_/forms.js:6494-8475,8477-8478,8486,8490,8492,8494,8499-8500,8515,8518-8519,8524,8527-8529,8531-8532,8536,8538,8540-8544,8547-8552,8554,8557,8600-8601,8637,8749,8772,8897,8917,8944-8945,8947,8950-8952,8967,8969,8979,8982,8987,8998,9006,9008,9011,9013,9026,9033-9036,9038,9040,9042,9044,9048,9050-9053,9062,9064-9065,9069,9078,9081,9088,9096,9099-9101,9103,9105,9115,9118,9347,9353-9354,9411,9432,9445,9486,9538-9550,9569-9571,9620,9635,9637-9638,9645-9647,9693,9699,9721,9814,9825,9857,9879,9881,9939,10002,10029,10038-10041,10070,10086,10093,10335,10345,10347,10388,10407,10481,10549,10560-10562,10565,10568,10571,10577,10932,11025,11035,11526,11528
/branches/nagvis-iframe/opsview-core/share/_javascript_/forms.js:9764-9786
/branches/opsview2runtime/opsview-core/share/_javascript_/forms.js:10960-11258
/branches/opsview2runtime_xs/opsview-core/share/_javascript_/forms.js:11279-11303
/branches/us168/opsview-core/share/_javascript_/forms.js:8759,8762-8763,8766-8768,8770,8774-8777,8794,8798-8799,8801-8803,8821-8822,8834,8837-8838,8932,8937,8947,8969,8977,8981,9004,9007,9009-9010,9012,9024,9049
/commercial/branches/BRAN-4.2/opsview-core/share/_javascript_/forms.js:10944,10966,11017
/commercial/branches/BRAN-4.2/share/_javascript_/forms.js:10966
/commercial/branches/US306-slaves/opsview-core/share/_javascript_/forms.js:9804-9823
/commercial/branches/US307-network-map/opsview-core/share/_javascript_/forms.js:9685-9837