diff --git a/rpg-docs/client/views/character/persona/textDialog/textDialog.js b/rpg-docs/client/views/character/persona/textDialog/textDialog.js
index c2cf10ae..2fcca539 100644
--- a/rpg-docs/client/views/character/persona/textDialog/textDialog.js
+++ b/rpg-docs/client/views/character/persona/textDialog/textDialog.js
@@ -32,5 +32,8 @@ Template.textDialog.events({
var setter = {$set: {}};
setter.$set[this.field] = input;
Characters.update(this.charId, setter);
- }
+ },
+ "tap #backButton": function(){
+ GlobalUI.closeDetail()
+ },
});
\ No newline at end of file
diff --git a/rpg-docs/client/views/character/spells/spellDialog/spellDialog.css b/rpg-docs/client/views/character/spells/spellDialog/spellDialog.css
new file mode 100644
index 00000000..6639585f
--- /dev/null
+++ b/rpg-docs/client/views/character/spells/spellDialog/spellDialog.css
@@ -0,0 +1,3 @@
+.spellDialog paper-checkbox {
+ margin: 8px 16px 8px 8px;
+}
diff --git a/rpg-docs/client/views/character/spells/spellDialog/spellDialog.html b/rpg-docs/client/views/character/spells/spellDialog/spellDialog.html
index cf29d241..82a9335a 100644
--- a/rpg-docs/client/views/character/spells/spellDialog/spellDialog.html
+++ b/rpg-docs/client/views/character/spells/spellDialog/spellDialog.html
@@ -58,14 +58,8 @@
-
-
-
-
-
-
-
+
Verbal:
Somatic:
@@ -77,6 +71,12 @@
+
+
+
+
+
+
diff --git a/rpg-docs/client/views/character/spells/spellDialog/spellDialog.js b/rpg-docs/client/views/character/spells/spellDialog/spellDialog.js
index 72b72fb4..49b831ee 100644
--- a/rpg-docs/client/views/character/spells/spellDialog/spellDialog.js
+++ b/rpg-docs/client/views/character/spells/spellDialog/spellDialog.js
@@ -68,30 +68,35 @@ Template.spellDialog.events({
var detail = event.originalEvent.detail;
if(!detail.isSelected) return;
var value = detail.item.getAttribute("name");
+ if (value == this.listId) return;
Spells.update(this._id, {$set: {listId: value}});
},
"core-select #levelDropdown": function(event){
var detail = event.originalEvent.detail;
if(!detail.isSelected) return;
var value = detail.item.getAttribute("name");
+ if(value == this.level) return;
Spells.update(this._id, {$set: {level: value}});
},
"core-select #schoolDropdown": function(event){
var detail = event.originalEvent.detail;
if(!detail.isSelected) return;
var value = detail.item.getAttribute("name");
+ if(value == this.school) return;
Spells.update(this._id, {$set: {school: value}});
},
"core-select #preparedDropdown": function(event){
var detail = event.originalEvent.detail;
if(!detail.isSelected) return;
var value = detail.item.getAttribute("name");
+ if(value == this.school) return;
Spells.update(this._id, {$set: {prepared: value}});
},
"core-select .colorDropdown": function(event){
var detail = event.originalEvent.detail;
if(!detail.isSelected) return;
var value = detail.item.getAttribute("name");
+ if(value == this.color) return;
Spells.update(this._id, {$set: {color: value}});
},
"change #verbalCheckbox": function(event){