Commit 8e3ebd24 authored by Thimo Kraemer's avatar Thimo Kraemer
Browse files

Fixed issue setting value of some input fields in Chrome

parent 1e9c7c13
/* /*
* KSS-RPC v0.28-beta * KSS-RPC v0.29
* *
* Copyright (c) 2017, joonis new media * Copyright (c) 2017, joonis new media
* Author: Thimo Kraemer <thimo.kraemer@joonis.de> * Author: Thimo Kraemer <thimo.kraemer@joonis.de>
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
******************************************************************************************/ ******************************************************************************************/
var kss = { var kss = {
version: '0.28-beta', version: '0.29',
_initialized: false, _initialized: false,
_ruleSheets: {}, _ruleSheets: {},
_nodeRegister: {}, _nodeRegister: {},
...@@ -2038,6 +2038,9 @@ kss.setNodeAttr = function(node, name, value) { ...@@ -2038,6 +2038,9 @@ kss.setNodeAttr = function(node, name, value) {
case 'disabled': case 'disabled':
node[name] = !!value; node[name] = !!value;
break; break;
case 'value':
node.value = value;
break;
default: default:
node.setAttribute(name, value); node.setAttribute(name, value);
} }
......
This diff is collapsed.
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