vendor/assets/javascripts/dojox/calendar/Touch.js in dojox-rails-0.13.0 vs vendor/assets/javascripts/dojox/calendar/Touch.js in dojox-rails-0.14.0
- old
+ new
@@ -165,17 +165,17 @@
delete this._saveSelectedItems;
delete this._pendingSelectedItem;
}
}
if(this._pendingDoubleTap&&this._pendingDoubleTap.item==p.item){
-this._onItemDoubleClick({triggerEvent:e,renderer:p.renderer,item:this.itemToRenderItem(p.item,this.get("store"))});
+this._onItemDoubleClick({triggerEvent:e,renderer:p.renderer,item:this.renderItemToItem(p.item,this.get("store"))});
clearTimeout(this._pendingDoubleTap.timer);
delete this._pendingDoubleTap;
}else{
this._pendingDoubleTap={item:p.item,timer:setTimeout(_2.hitch(this,function(){
delete this._pendingDoubleTap;
}),this.doubleTapDelay)};
-this._onItemClick({triggerEvent:e,renderer:p.renderer,item:this.itemToRenderItem(p.item,this.get("store"))});
+this._onItemClick({triggerEvent:e,renderer:p.renderer,item:this.renderItemToItem(p.item,this.get("store"))});
}
this._edProps=null;
}else{
if(this._saveSelectedItems){
this.set("selectedItems",this._saveSelectedItems);