Skip to content

Commit 5cefe7f

Browse files
author
minjk-bl
committed
Fix Bind
1 parent b0c5715 commit 5cefe7f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

html/m_apps/bind.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<hr style="margin: 5px 0;">
1111
<div class="vp-bd-type-box concat">
1212
<div>
13-
<label for="vp_bdVariable" class="vp-orange-text w100">Variable</label>
14-
<input type="text" id="vp_bdVariable" placeholder="Variable" readonly="">
13+
<label for="vp_bdVariable" class="vp-orange-text w100">DataFrame</label>
14+
<input type="text" id="vp_bdVariable" placeholder="Select variables" readonly="">
1515
</div>
1616
<div>
1717
<label for="vp_bdJoin" class="w100">Join</label>

js/m_apps/Bind.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,10 @@ define([
241241

242242
if (useIndex || that.state.merge.right.useIndex) {
243243
$(that.wrapSelector('#vp_bdOn')).attr('disabled', true);
244+
$(that.wrapSelector('#vp_bdLeftOn')).attr('disabled', true);
244245
} else {
245246
$(that.wrapSelector('#vp_bdOn')).attr('disabled', false);
247+
$(that.wrapSelector('#vp_bdLeftOn')).attr('disabled', false);
246248
}
247249
});
248250

@@ -272,8 +274,10 @@ define([
272274

273275
if (useIndex || that.state.merge.left.useIndex) {
274276
$(that.wrapSelector('#vp_bdOn')).attr('disabled', true);
277+
$(that.wrapSelector('#vp_bdRightOn')).attr('disabled', true);
275278
} else {
276279
$(that.wrapSelector('#vp_bdOn')).attr('disabled', false);
280+
$(that.wrapSelector('#vp_bdRightOn')).attr('disabled', false);
277281
}
278282
});
279283

0 commit comments

Comments
 (0)