| OLD | NEW |
| 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
| 3 found in the LICENSE file. --> | 3 found in the LICENSE file. --> |
| 4 | 4 |
| 5 <link rel="import" href="cr-butterbar.html"> | 5 <link rel="import" href="../common/cr-butterbar.html"> |
| 6 <link rel="import" href="cr-button.html"> | 6 <link rel="import" href="../common/cr-button.html"> |
| 7 <link rel="import" href="cr-dialog.html"> | 7 <link rel="import" href="../common/cr-dialog.html"> |
| 8 <link rel="import" href="cr-toolbar.html"> | 8 <link rel="import" href="../common/cr-toolbar.html"> |
| 9 | 9 |
| 10 <polymer-element name="cr-issue-discard-drafts-dialog" attributes="issue"> | 10 <polymer-element name="cr-issue-discard-drafts-dialog" attributes="issue"> |
| 11 <template> | 11 <template> |
| 12 <link rel="stylesheet" href="common.css"> | 12 <link rel="stylesheet" href="../common/common.css"> |
| 13 <style> | 13 <style> |
| 14 .dialog-fields-label { | 14 .dialog-fields-label { |
| 15 font-weight: bold; | 15 font-weight: bold; |
| 16 color: #959595; | 16 color: #959595; |
| 17 -webkit-user-select: none; | 17 -webkit-user-select: none; |
| 18 cursor: default; | 18 cursor: default; |
| 19 } | 19 } |
| 20 | 20 |
| 21 .dialog-fields-field, | 21 .dialog-fields-field, |
| 22 .dialog-fields-label { | 22 .dialog-fields-label { |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 this.butterbarMessage = "Error: " + error.message; | 83 this.butterbarMessage = "Error: " + error.message; |
| 84 }, | 84 }, |
| 85 showModal: function() { | 85 showModal: function() { |
| 86 if (!this.issue) | 86 if (!this.issue) |
| 87 return; | 87 return; |
| 88 this.$.dialog.showModal(); | 88 this.$.dialog.showModal(); |
| 89 }, | 89 }, |
| 90 }); | 90 }); |
| 91 </script> | 91 </script> |
| 92 </polymer-element> | 92 </polymer-element> |
| OLD | NEW |