Fix select box handling in Safari

Fixes #928
This commit is contained in:
Nick O'Leary
2016-07-04 11:21:58 +01:00
parent b8f578862e
commit dc00870461
9 changed files with 42 additions and 43 deletions

View File

@@ -242,7 +242,7 @@
$("#node-input-scope-select").change(function(e) {
var scope = $(this).children("option:selected").val();
var scope = $(this).val();
if (scope === "target") {
createNodeList();
$(".node-input-target-row").show();
@@ -259,7 +259,7 @@
$("#node-input-scope-select").change();
},
oneditsave: function() {
var scope = $("#node-input-scope-select").children("option:selected").val();
var scope = $("#node-input-scope-select").val();
if (scope === 'all') {
this.scope = null;
} else {