Skip to content

Commit 38bd1b9

Browse files
author
Jessica Wang
committed
Revert "CLOUDSTACK-7647: Fix 'isReverse' checkboxes which are checked by default"
This reverts commit ef4b5d4.
1 parent 847e1e4 commit 38bd1b9

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

‎ui/scripts/ui/dialog.js‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,8 @@
225225
if ($dependsOn.is('[type=checkbox]')) {
226226

227227
var isReverse = false;
228-
if (args.form.fields[dependsOn]) {
228+
if (args.form.fields[dependsOn])
229229
isReverse = args.form.fields[dependsOn].isReverse;
230-
isChecked = args.form.fields[dependsOn].isChecked;
231-
}
232-
233230

234231
// Checkbox
235232
$dependsOn.bind('click', function(event) {
@@ -263,10 +260,6 @@
263260
// Show fields by default if it is reverse checkbox
264261
if (isReverse) {
265262
$dependsOn.click();
266-
267-
if (isChecked) {
268-
$dependsOn.attr('checked', true);
269-
}
270263
}
271264
}
272265
}

0 commit comments

Comments
 (0)