mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
stream settings: Add name attr to settings elements.
Add `name` attribute to stream settings `input` elements and change `id` attribute corresponding to name. `name` attribute stores value of settings name which is stored in frontend data sets.
This commit is contained in:
committed by
Tim Abbott
parent
de1f4066ba
commit
1f5720d1b8
@@ -124,7 +124,7 @@ run_test('update_property', () => {
|
||||
with_overrides(function (override) {
|
||||
override('stream_list.refresh_pinned_or_unpinned_stream', noop);
|
||||
stream_events.update_property(1, 'pin_to_top', true);
|
||||
checkbox = $('#pinstream-1');
|
||||
checkbox = $(".subscription_settings[data-stream-id='1'] #sub_pin_to_top_setting .sub_setting_control");
|
||||
assert.equal(checkbox.prop('checked'), true);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user