Merge pull request #4205 from kamillus/develop
adding a fix to handle missing directories in the file browser in webkit browsers
This commit is contained in:
@@ -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();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user