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:
oskar.wiksten
2011-05-07 07:01:18 +00:00
parent 003fedaf34
commit d903815a69

View File

@@ -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);
});