+ this.clearForm();
+
+ /* fill out hidden fields */
+ this.$form = $('form', element);
+
+ $("input[name='id']", this.$form).val(CurrentDocument.id);
+ $("input[name='parent_revision']", this.$form).val(CurrentDocument.revision);
+
+ $.wiki.cls.GenericDialog.call(this, element);