mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-25 23:44:54 +01:00
more readable function
This commit is contained in:
parent
28010a85aa
commit
0eaa8c8638
@ -228,14 +228,17 @@ $(function () {
|
|||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).ready(fetchLabels({
|
$(document).ready(function() {
|
||||||
|
// add labels to filter list...
|
||||||
|
fetchLabels({
|
||||||
postUpdate: function(data) {
|
postUpdate: function(data) {
|
||||||
var labels = data.labels;
|
var labels = data.labels;
|
||||||
for (var i = 0; i < labels.length; i++) {
|
for (var i = 0; i < labels.length; i++) {
|
||||||
createLabelItem(labels[i], null)
|
createLabelItem(labels[i], null)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}))
|
});
|
||||||
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
function reloadTable() {
|
function reloadTable() {
|
||||||
|
Loading…
Reference in New Issue
Block a user