mirror of
https://github.com/OMGeeky/andors-trail.git
synced 2026-02-23 15:38:29 +01:00
Correct mime types for resource editor. Fix bug with imageselector not showing.
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@79 08aca716-68be-ccc6-4d58-36f5abd142ac
This commit is contained in:
@@ -79,6 +79,7 @@ function ImageSelector(imagePath, dialog) {
|
||||
|
||||
var showImages = function(showTilesetTag) {
|
||||
jQuery.each(_tilesets, function(idx, t) {
|
||||
if (!idx) return;
|
||||
var visible = t._tags.indexOf(showTilesetTag) >= 0;
|
||||
$( "#" + idx, dialog ).toggle(visible);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user