diff options
| author | Tim Graham <timograham@gmail.com> | 2017-12-21 14:26:54 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-12-26 10:21:05 -0500 |
| commit | b730973fff14f4e0184f5522eaf9f5e64891d431 (patch) | |
| tree | bede3f6fde925f9f0d29e09b40b54f8fc23e63f8 /js_tests | |
| parent | 8dbaeb61389d9a04394e9191cb27bf8faf72642f (diff) | |
Refs #28956 -- Removed usage of jQuery's deprecated .selector property in admin JavaScript.
Diffstat (limited to 'js_tests')
| -rw-r--r-- | js_tests/admin/inlines.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js_tests/admin/inlines.test.js b/js_tests/admin/inlines.test.js index 2ff6a14577..7b7097939c 100644 --- a/js_tests/admin/inlines.test.js +++ b/js_tests/admin/inlines.test.js @@ -11,7 +11,7 @@ QUnit.module('admin.inlines: tabular formsets', { $('#qunit-fixture').append($('#tabular-formset').text()); this.table = $('table.inline'); this.inlineRow = this.table.find('tr'); - that.inlineRow.tabularFormset({ + that.inlineRow.tabularFormset('table.inline tr', { prefix: 'first', addText: that.addText, deleteText: 'Remove' @@ -60,7 +60,7 @@ QUnit.test('existing add button', function(assert) { this.inlineRow = this.table.find('tr'); this.table.append('<i class="add-button"></i>'); var addButton = this.table.find('.add-button'); - this.inlineRow.tabularFormset({ + this.inlineRow.tabularFormset('table.inline tr', { prefix: 'first', deleteText: 'Remove', addButton: addButton |
