Browse Source

Merge pull request #4205 from kamillus/develop

adding a fix to handle missing directories in the file browser in webkit browsers
pull/4256/head
Ruud Burger 11 years ago
parent
commit
16f8e7e123
  1. 5
      couchpotato/static/scripts/page/settings.js

5
couchpotato/static/scripts/page/settings.js

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

Loading…
Cancel
Save