Merge pull request #5214 from dmkoch/patch-1

Quote nested API parameters in api.js
This commit is contained in:
José Padilla 2017-06-13 17:47:18 -04:00 committed by GitHub
commit 0e106c1657

View File

@ -102,7 +102,7 @@ $(function () {
var entry = entries[i]
var paramKey = entry[0]
var paramValue = entry[1]
var $elem = $form.find('[name=' + paramKey + ']')
var $elem = $form.find('[name="' + paramKey + '"]')
var dataType = $elem.data('type') || 'string'
if (dataType === 'integer' && paramValue) {