mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Removed broken editor data binding.
The attribute binding was replaced a while ago with lazy property setting, for performance reasons. Also added a default state for the data property.
This commit is contained in:
@@ -193,7 +193,7 @@ loot-clear-metadata
|
||||
<content select=".tag.remove"></content>
|
||||
<content></content>
|
||||
</section>
|
||||
<loot-plugin-editor id="editor" data="{{data}}"></loot-plugin-editor>
|
||||
<loot-plugin-editor id="editor"></loot-plugin-editor>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
|
||||
@@ -20,7 +20,7 @@ loot-editor-close
|
||||
|
||||
<link rel="import" href="editable-table.html">
|
||||
|
||||
<polymer-element name="loot-plugin-editor" attributes="{{data}}">
|
||||
<polymer-element name="loot-plugin-editor" attributes="data">
|
||||
<template>
|
||||
<style>
|
||||
/* Material Design for non-button icons. */
|
||||
@@ -236,6 +236,8 @@ loot-editor-close
|
||||
</template>
|
||||
<script>
|
||||
Polymer({
|
||||
data: undefined,
|
||||
|
||||
observe: {
|
||||
'data.isGlobalPriority': 'onPriorityChange',
|
||||
'data.modPriority': 'onPriorityChange',
|
||||
|
||||
Reference in New Issue
Block a user