mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
3.0.5675.1
This commit is contained in:
parent
844f27d953
commit
c886b12570
7 changed files with 36 additions and 34 deletions
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"name": "iron-form-element-behavior",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"license": "http://polymer.github.io/LICENSE.txt",
|
||||
"private": true,
|
||||
"main": "iron-form-element-behavior",
|
||||
"main": "iron-form-element-behavior.html",
|
||||
"authors": "The Polymer Authors",
|
||||
"description": "Enables a custom element to be included in an iron-form",
|
||||
"keywords": [
|
||||
|
@ -26,11 +26,11 @@
|
|||
"paper-styles": "PolymerElements/paper-styles#^1.0.0"
|
||||
},
|
||||
"homepage": "https://github.com/PolymerElements/iron-form-element-behavior",
|
||||
"_release": "1.0.2",
|
||||
"_release": "1.0.3",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.2",
|
||||
"commit": "3d46178a7cd9e4025004476a8fd0eef7a5416cd3"
|
||||
"tag": "v1.0.3",
|
||||
"commit": "a55bc86f6f4fcba1d1c08d6bfaa26ba145ce3112"
|
||||
},
|
||||
"_source": "git://github.com/PolymerElements/iron-form-element-behavior.git",
|
||||
"_target": "^1.0.0",
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"name": "iron-form-element-behavior",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"license": "http://polymer.github.io/LICENSE.txt",
|
||||
"private": true,
|
||||
"main": "iron-form-element-behavior",
|
||||
"main": "iron-form-element-behavior.html",
|
||||
"authors": "The Polymer Authors",
|
||||
"description": "Enables a custom element to be included in an iron-form",
|
||||
"keywords": [
|
||||
|
|
|
@ -35,6 +35,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
|
||||
_elementRegistered: function(e) {
|
||||
this.formElements.push(e.target);
|
||||
e.target._parentForm = this;
|
||||
},
|
||||
|
||||
_elementUnregistered: function(e) {
|
||||
|
|
|
@ -52,8 +52,7 @@ Enables a custom element to be included in an `iron-form`.
|
|||
},
|
||||
|
||||
/**
|
||||
* Need to keep a reference to the form this element is registered
|
||||
* to, so that it can unregister if detached.
|
||||
* The form that the element is registered to.
|
||||
*/
|
||||
_parentForm: {
|
||||
type: Object
|
||||
|
@ -61,7 +60,8 @@ Enables a custom element to be included in an `iron-form`.
|
|||
},
|
||||
|
||||
attached: function() {
|
||||
this._parentForm = Polymer.dom(this).parentNode;
|
||||
// Note: the iron-form that this element belongs to will set this
|
||||
// element's _parentForm property when handling this event.
|
||||
this.fire('iron-form-element-register');
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue