adding a fix to handle missing directories in the file browser in webkit browsers

This commit is contained in:
Kamil
2014-11-10 20:18:38 -05:00
parent 248b007f4a
commit 7d7b76b2e9
+4 -1
View File
@@ -885,7 +885,10 @@ Option.Directory = new Class({
new Element('li.empty', {
'text': 'Selected folder is empty'
}).inject(self.dir_list)
//fix for webkit type browsers to refresh the dom for the file browser
//http://stackoverflow.com/questions/3485365/how-can-i-force-webkit-to-redraw-repaint-to-propagate-style-changes
self.dir_list.setStyle("webkitTransform", "scale(1)")
self.caretAtEnd();
},