mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-24 12:13:49 +01:00
fix rows unclickeables when searching maps that are not in the first page
This commit is contained in:
parent
9f79d8f40a
commit
6950f7f715
@ -253,13 +253,8 @@ function updateStarred(spanElem) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function callbackOnTableInit() {
|
function callbackOnTableInit() {
|
||||||
// Register starred events ...
|
var clickAction = function() {
|
||||||
$('#mindmapListTable .starredOff, #mindmapListTable .starredOn').click(function (event) {
|
$("#mindmapListTable tbody tr").unbind('click').click(
|
||||||
updateStarred(this);
|
|
||||||
event.stopPropagation();
|
|
||||||
});
|
|
||||||
|
|
||||||
$("#mindmapListTable tbody tr").click(
|
|
||||||
function (event) {
|
function (event) {
|
||||||
var target = $(event.target);
|
var target = $(event.target);
|
||||||
if (!target.is('.closeTag')) {
|
if (!target.is('.closeTag')) {
|
||||||
@ -269,10 +264,19 @@ function callbackOnTableInit() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
};
|
||||||
|
// Register starred events ...
|
||||||
|
$('#mindmapListTable .starredOff, #mindmapListTable .starredOn').click(function (event) {
|
||||||
|
updateStarred(this);
|
||||||
|
event.stopPropagation();
|
||||||
|
});
|
||||||
|
|
||||||
|
clickAction();
|
||||||
$('input:checkbox').click(function(event) {
|
$('input:checkbox').click(function(event) {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
});
|
});
|
||||||
updateStatusToolbar();
|
updateStatusToolbar();
|
||||||
|
$("#mindmapListTable").on("draw", clickAction);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Register time update functions ....
|
// Register time update functions ....
|
||||||
|
Loading…
Reference in New Issue
Block a user