Merge branch 'stable-2.16' into stable-3.0
* stable-2.16: Correctly setting the value of manual_review Revert "Update polymer-resin to 2.0.0" Update polymer-resin to 2.0.0 Update polymer-resin to 1.2.8 Change-Id: I2cbb873fb66e2efbffaf422bbd2e7f082ad840af
This commit is contained in:
@@ -135,7 +135,7 @@ limitations under the License.
|
|||||||
<input
|
<input
|
||||||
id="automaticReviewInput"
|
id="automaticReviewInput"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
checked$="[[diffPrefs.manual_review]]"
|
checked$="[[!diffPrefs.manual_review]]"
|
||||||
on-change="_handleAutomaticReviewTap">
|
on-change="_handleAutomaticReviewTap">
|
||||||
</span>
|
</span>
|
||||||
</section>
|
</section>
|
||||||
|
@@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
_handleAutomaticReviewTap() {
|
_handleAutomaticReviewTap() {
|
||||||
this.set('diffPrefs.manual_review',
|
this.set('diffPrefs.manual_review',
|
||||||
this.$.automaticReviewInput.checked);
|
!this.$.automaticReviewInput.checked);
|
||||||
this._handleDiffPrefsChanged();
|
this._handleDiffPrefsChanged();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@@ -96,7 +96,7 @@ limitations under the License.
|
|||||||
.firstElementChild.checked, diffPreferences.syntax_highlighting);
|
.firstElementChild.checked, diffPreferences.syntax_highlighting);
|
||||||
assert.equal(
|
assert.equal(
|
||||||
valueOf('Automatically mark viewed files reviewed', 'diffPreferences')
|
valueOf('Automatically mark viewed files reviewed', 'diffPreferences')
|
||||||
.firstElementChild.checked, diffPreferences.manual_review);
|
.firstElementChild.checked, !diffPreferences.manual_review);
|
||||||
assert.equal(valueOf('Ignore Whitespace', 'diffPreferences')
|
assert.equal(valueOf('Ignore Whitespace', 'diffPreferences')
|
||||||
.firstElementChild.bindValue, diffPreferences.ignore_whitespace);
|
.firstElementChild.bindValue, diffPreferences.ignore_whitespace);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user