Commit c965b55b authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Added some comments about hacks/fixes.

parent 03e4893f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -14,6 +14,10 @@ Ext.define("Docs.Settings", {
     */
    set: function(key, value) {
        var index = this.store.findExact("key", key);
        // There is currently a bug in localstorage with Ext that
        // prevents updated records getting synced properly. As a
        // temporary fix, remove and re-add the item instead of just
        // changing the value.
        if (index > -1) {
            this.store.removeAt(index);
        }
+1 −0
Original line number Diff line number Diff line
@@ -128,6 +128,7 @@ Ext.define('Docs.view.Viewport', {
                                            closeclick: function(cls) {
                                                Docs.Favorites.remove(cls);
                                            },
                                            // Prevent row highlighting when doing drag-drop
                                            afterrender: function() {
                                                var ddPlugin = this.getView().getPlugin('favGridDD');