Skip to content

Commit

Permalink
Bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian committed Apr 4, 2014
1 parent e6bd223 commit 9e37ee2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ux/fiaedotws/imageviewer/Panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ Ext.define('Ext.ux.fiaedotws.imageviewer.Panel', {
setImages: function(img) {
this.images = img;

var tb = this.getDockedItems('toolbar[dock=bottom]')[0];
tb.child('[xid=slideshow]').setDisabled((this.images.length<2))

var dv = this.child('[xid=thumbnails] dataview');
var store = dv.getStore();
store.removeAll();
Expand Down Expand Up @@ -541,6 +544,7 @@ Ext.define('Ext.ux.fiaedotws.imageviewer.Panel', {

setImage: function(img) {
var ip = this.child('[xid=image] image');
ip.setSrc('');
this.setLoading('Loading...');
ip.setSrc(img.image);
},
Expand Down

0 comments on commit 9e37ee2

Please sign in to comment.