Avoid some init / destroy errors in color picker popup

This commit is contained in:
Nathan Gray
2013-03-25 19:39:02 +00:00
parent 84b3edbfcb
commit d394cca06f
2 changed files with 18 additions and 7 deletions

View File

@@ -1852,7 +1852,7 @@
commitCallback = null;
cancelCallback = null;
liveCallback = null;
container.html('');
container.remove();
for (i = 0; i < List.length; i++) if (List[i] == $this) List.splice(i, 1);
},
images = settings.images, // local copies for YUI compressor
@@ -2083,4 +2083,4 @@
}
}
};
})(jQuery, '1.1.6');
})(jQuery, '1.1.6');