hack removed

This commit is contained in:
Ezequiel Bergamaschi 2014-02-01 16:24:57 -03:00 committed by Ezequiel Bergamaschi
parent e5d9380699
commit 54fb696090

View File

@ -99,13 +99,6 @@ jQuery.fn.dialogForm = function (options) {
formData[elem.name] = elem.value; formData[elem.name] = elem.value;
}); });
//No me gusta, revisar only support one select in the form
var dropdown = $('#' + containerId + ' option:selected');
if (dropdown.val()) {
formData['id'] = dropdown.val();
formData['title'] = dropdown.html();
}
$(acceptBtn).button('loading'); $(acceptBtn).button('loading');
var dialogElem = this; var dialogElem = this;
jQuery.ajax(url, { jQuery.ajax(url, {