| Index: dashboard/dashboard/elements/bisect-button.html
|
| diff --git a/dashboard/dashboard/elements/bisect-button.html b/dashboard/dashboard/elements/bisect-button.html
|
| index db61e1628ce528c0cf27ff3f069b4c1018ca1bc9..4546e05a09fdf1f7f8f1dc345b84dc77741d4878 100644
|
| --- a/dashboard/dashboard/elements/bisect-button.html
|
| +++ b/dashboard/dashboard/elements/bisect-button.html
|
| @@ -10,7 +10,7 @@ found in the LICENSE file.
|
| <link rel="import" href="/dashboard/elements/bisect-form.html">
|
| <link rel="import" href="/dashboard/static/simple_xhr.html">
|
|
|
| -<polymer-element name="bisect-button" attributes="bisectInfo bugId xsrfToken">
|
| +<dom-module id="bisect-button">
|
| <template>
|
| <style>
|
| /*
|
| @@ -38,9 +38,9 @@ found in the LICENSE file.
|
| </style>
|
| <paper-button raised
|
| id="button"
|
| - disabled?={{!canBisect}}
|
| - enabled?={{canBisect}}
|
| - on-click="{{onBisect}}">Bisect</paper-button>
|
| + disabled$={{!canBisect}}
|
| + enabled$={{canBisect}}
|
| + on-click="onBisect">Bisect</paper-button>
|
| <bisect-form
|
| id="bisect"
|
| xsrfToken="{{xsrfToken}}"
|
| @@ -54,6 +54,17 @@ found in the LICENSE file.
|
|
|
| (function() {
|
| Polymer('bisect-button', {
|
| +
|
| + is: 'bisect-button',
|
| + properties: {
|
| + bisectInfo: {
|
| + notify: true,
|
| + observer: 'bisectInfoChanged'
|
| + },
|
| + bugId: { notify: true },
|
| + xsrfToken: { notify: true }
|
| + },
|
| +
|
| /**
|
| * Initializes this element; this is an element lifecycle callback.
|
| */
|
|
|