+* 3.0.35
+* Updated Modello web samples from upstream
+== Alice Liu <alice.liu@intel.com> 2014-12-23
+
* 3.0.34
* Updated Modello web samples from upstream
== Alice Liu <alice.liu@intel.com> 2014-12-22
}
};
/**
+ * This method adds newest call history data up to the index given and reset position to start.
+ *
+ * @method addCallHistory
+ * @param callHistory {Array} Call history array.
+ * @param index {Integer} Index position of the last entry that needs to be added.
+ */
+Carousel.prototype.addCallHistory = function(callHistory, index) {
+ "use strict";
+ var carouselItem;
+ this.callHistory = callHistory;
+
+ if (!!this.swipe) {
+ this.swipe.trigger("removeItem", 0);
+
+ for (var i = index; i >= 0; i--) {
+ carouselItem = this.createSwipeItem(this.callHistory[i], i);
+ if (!!carouselItem && !!this.swipe) {
+ this.swipe.trigger("insertItem", [ carouselItem, 0 ]);
+ }
+ }
+
+ var html = "<li><div class='carouselEdgeBox'></div></li>";
+ this.swipe.trigger("insertItem", [ html, 0 ]);
+
+ this.swipe.trigger("slideTo", [ 0, 0, {
+ duration : 0
+ } ]);
+ }
+};
+/**
* This method creates one carousel item for swipe.
*
* @method createSwipeItem
tmpCallHistory.unshift(tmpContact[0]);
Phone.callHistory(tmpCallHistory);
- callHistoryCarousel.loadCallHistory(Phone.callHistory(), 0);
-
+ callHistoryCarousel.addCallHistory(Phone.callHistory(), 0);
}
});
/* add listener to change call state */
+* Mon Dec 22 2014 Jimmy Huang <jimmy.huang@intel.com> accepted/tizen/ivi/20141212.011920-1-gd50348c
+- Fix TC-2267 - Calling history refresh too slow
+
* Thu Dec 11 2014 Jimmy Huang <jimmy.huang@intel.com> accepted/tizen/ivi/20141208.013020-1-gcd10124
- Fix download history spinner sometimes not hiding correctly