summaryrefslogtreecommitdiffstats
path: root/dev/jquery.jtable.creation.js
diff options
context:
space:
mode:
Diffstat (limited to 'dev/jquery.jtable.creation.js')
-rw-r--r--dev/jquery.jtable.creation.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev/jquery.jtable.creation.js b/dev/jquery.jtable.creation.js
index 036ec22..bb187aa 100644
--- a/dev/jquery.jtable.creation.js
+++ b/dev/jquery.jtable.creation.js
@@ -229,9 +229,16 @@
$fieldContainer.append(self._createInputLabelForRecordField(fieldName));
//Create input element
- $fieldContainer.append(self._createInputForRecordField(fieldName));
+ $fieldContainer.append(
+ self._createInputForRecordField({
+ fieldName: fieldName,
+ formType: 'create',
+ form: $addRecordForm
+ }));
}
+ self._makeCascadeDropDowns($addRecordForm, undefined, 'create');
+
//Open the form
self._$addRecordDiv.append($addRecordForm).dialog('open');
self._trigger("formCreated", null, { form: $addRecordForm, formType: 'create' });