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
|
||||
id="automaticReviewInput"
|
||||
type="checkbox"
|
||||
checked$="[[diffPrefs.manual_review]]"
|
||||
checked$="[[!diffPrefs.manual_review]]"
|
||||
on-change="_handleAutomaticReviewTap">
|
||||
</span>
|
||||
</section>
|
||||
|
@@ -66,7 +66,7 @@
|
||||
|
||||
_handleAutomaticReviewTap() {
|
||||
this.set('diffPrefs.manual_review',
|
||||
this.$.automaticReviewInput.checked);
|
||||
!this.$.automaticReviewInput.checked);
|
||||
this._handleDiffPrefsChanged();
|
||||
},
|
||||
|
||||
|
@@ -96,7 +96,7 @@ limitations under the License.
|
||||
.firstElementChild.checked, diffPreferences.syntax_highlighting);
|
||||
assert.equal(
|
||||
valueOf('Automatically mark viewed files reviewed', 'diffPreferences')
|
||||
.firstElementChild.checked, diffPreferences.manual_review);
|
||||
.firstElementChild.checked, !diffPreferences.manual_review);
|
||||
assert.equal(valueOf('Ignore Whitespace', 'diffPreferences')
|
||||
.firstElementChild.bindValue, diffPreferences.ignore_whitespace);
|
||||
|
||||
|
Reference in New Issue
Block a user