diff --git a/ui (gen4)/css/layout.css b/ui (gen4)/css/layout.css index f19f876c..56b6dc2b 100644 --- a/ui (gen4)/css/layout.css +++ b/ui (gen4)/css/layout.css @@ -305,8 +305,7 @@ stretching in width... */ -o-transition: all 0.1s ease-in; transition: all 0.1s ease-in; } -.shadow, -.shadow .image { +.shadow { -webkit-transform-origin: 0 0; -moz-transform-origin: 0 0; -ms-transform-origin: 0 0; diff --git a/ui (gen4)/css/layout.less b/ui (gen4)/css/layout.less index e47406a1..774466d6 100755 --- a/ui (gen4)/css/layout.less +++ b/ui (gen4)/css/layout.less @@ -442,8 +442,7 @@ stretching in width... */ -o-transition: all 0.1s ease-in; transition: all 0.1s ease-in; } -.shadow, -.shadow .image { +.shadow { -webkit-transform-origin: 0 0; -moz-transform-origin: 0 0; -ms-transform-origin: 0 0; diff --git a/ui (gen4)/ribbons.js b/ui (gen4)/ribbons.js index 0df4322c..cc0b9b67 100755 --- a/ui (gen4)/ribbons.js +++ b/ui (gen4)/ribbons.js @@ -1136,6 +1136,8 @@ module.RibbonsPrototype = { } // see of we are loaded in the right position... + // NOTE: loaded is maintained current later, thus it always + // contains a set of images representative of the ribbon... var g = loaded.length > i ? that.getElemGID(loaded.eq(i)) : null // check if we need to reattach the image... diff --git a/ui (gen4)/viewer.js b/ui (gen4)/viewer.js index 3737146e..4e7c7293 100755 --- a/ui (gen4)/viewer.js +++ b/ui (gen4)/viewer.js @@ -213,6 +213,17 @@ actions.Actions({ this.data = data.Data.fromArray(this.images.keys()) }], + // XXX experimental... + // ...the bad thing about this is that we can not extend this, + // adding new items to the resulting structure... + dump: ['Dump state as JSOM object', + function(){ + return { + data: this.data.dumpJSON(), + images: this.images != null ? this.images.dumpJSON() : null + } + }], + // basic navigation... //