diff options
author | Michael Biehler <michael.biehler@baumann-automation.com> | 2016-04-13 14:18:46 +0200 |
---|---|---|
committer | Michael Biehler <michael.biehler@baumann-automation.com> | 2016-04-13 14:18:46 +0200 |
commit | 63474995e8cff7b193d9db357edcfd31797b7341 (patch) | |
tree | 9ddf7d877a70cc5f083e71783a45bbdc30d987a3 /dev/jquery.jtable.core.js | |
parent | bb411ad5918122d48ec4bb2dbf87d22e1d5692f1 (diff) | |
download | jtable-63474995e8cff7b193d9db357edcfd31797b7341.zip jtable-63474995e8cff7b193d9db357edcfd31797b7341.tar.gz jtable-63474995e8cff7b193d9db357edcfd31797b7341.tar.bz2 |
Add placeholder support
Diffstat (limited to 'dev/jquery.jtable.core.js')
-rw-r--r-- | dev/jquery.jtable.core.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dev/jquery.jtable.core.js b/dev/jquery.jtable.core.js index 94db25c..105f419 100644 --- a/dev/jquery.jtable.core.js +++ b/dev/jquery.jtable.core.js @@ -138,6 +138,9 @@ if (props.inputClass == undefined) { props.inputClass = ''; } + if (props.placeholder == undefined) { + props.placeholder = ''; + } //Convert dependsOn to array if it's a comma seperated lists if (props.dependsOn && $.type(props.dependsOn) === 'string') { |