Commit 1c0dd493 authored by Bailey Berro's avatar Bailey Berro Committed by Commit Bot

Initialize mountUrl_ in Add Share Dialog so it is not undefined

- After switching to cr-searchable-drop-down, mountUrl_ was undefined, this
switches it to being explicitly initialized to an empty string so the Add
button is correctly disabled.

Bug: chromium:882590
Change-Id: I38dcc3a17b9406f2d633b90154114ad20876fa91
Reviewed-on: https://chromium-review.googlesource.com/1217514
Commit-Queue: Bailey Berro <baileyberro@chromium.org>
Reviewed-by: default avatarScott Chen <scottchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#590128}
parent 926ac01a
...@@ -13,17 +13,28 @@ Polymer({ ...@@ -13,17 +13,28 @@ Polymer({
properties: { properties: {
/** @private {string} */ /** @private {string} */
mountUrl_: String, mountUrl_: {
type: String,
value: '',
},
/** @private {string} */ /** @private {string} */
mountName_: String, mountName_: {
type: String,
value: '',
},
/** @private {string} */ /** @private {string} */
username_: String, username_: {
type: String,
value: '',
},
/** @private {string} */ /** @private {string} */
password_: String, password_: {
type: String,
value: '',
},
/** @private {!Array<string>}*/ /** @private {!Array<string>}*/
discoveredShares_: { discoveredShares_: {
type: Array, type: Array,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment