Let the focusing function run after the pictures have been added to the
grid.
This commit is contained in:
parent
6357d8da59
commit
d2473ac2af
2 changed files with 15 additions and 14 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -8,3 +8,4 @@ cache.properties
|
||||||
/.springBeans
|
/.springBeans
|
||||||
/bin
|
/bin
|
||||||
/target
|
/target
|
||||||
|
/.externalToolBuilders
|
||||||
|
|
|
||||||
|
|
@ -182,8 +182,6 @@ $D(function() {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
var selectedImg = window.location.search;
|
var selectedImg = window.location.search;
|
||||||
var selectedPos = undefined;
|
var selectedPos = undefined;
|
||||||
if (/^\?focus=/.test(selectedImg)) {
|
if (/^\?focus=/.test(selectedImg)) {
|
||||||
|
|
@ -196,8 +194,10 @@ $D(function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (selectedPos !== undefined) {
|
if (selectedPos !== undefined) {
|
||||||
$D(gallery[selectedPos]).trigger('click');
|
$D("#ent" + selectedPos).trigger('click');
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue