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. 3
      couchpotato/static/scripts/page/settings.js

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

@ -886,6 +886,9 @@ Option.Directory = new Class({
'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