add label to mindmap ui logic
This commit is contained in:
committed by
Ezequiel Bergamaschi
parent
ed55fd824f
commit
9edea47dbd
@@ -98,6 +98,14 @@ jQuery.fn.dialogForm = function (options) {
|
||||
$('#' + containerId + ' input').each(function (index, elem) {
|
||||
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');
|
||||
var dialogElem = this;
|
||||
jQuery.ajax(url, {
|
||||
|
Reference in New Issue
Block a user