add label modal dialog
This commit is contained in:
committed by
Ezequiel Bergamaschi
parent
f048d0adb7
commit
81e9b5f59d
@@ -18,6 +18,22 @@ $(function () {
|
||||
}
|
||||
);
|
||||
|
||||
$("#linkBtn").click(
|
||||
function () {
|
||||
fetchLabels({
|
||||
postUpdate: function(data) {
|
||||
$.each(data.labels, function(index, value) {
|
||||
$("#labelList").append($('<option></option>').val(index).html(value.title));
|
||||
})
|
||||
}
|
||||
});
|
||||
$("#add-label-dialog-modal").dialogForm({
|
||||
//url:"c/restful/labels",
|
||||
//postUpdate: createLabelItem
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
$("#duplicateBtn").click(function () {
|
||||
// Map to be cloned ...
|
||||
var tableElem = $('#mindmapListTable');
|
||||
|
Reference in New Issue
Block a user