git-svn-id: https://msi/svn/firstRepo/WebClient/branches/NewRelease@58 0f545695-f87b-41b6-9a03-7f16563b5454
This commit is contained in:
@@ -57,7 +57,7 @@ define(['jquery', 'underscore', 'backbone', 'text!modules/item/itemViewTemplate.
|
||||
onShowed: function(){
|
||||
var self = this;
|
||||
$('body').scrollTop(0);
|
||||
|
||||
/*
|
||||
this.galleryWall = new Freewall("#Gallery");
|
||||
this.galleryWall.reset({
|
||||
selector: '.brick',
|
||||
@@ -73,6 +73,7 @@ define(['jquery', 'underscore', 'backbone', 'text!modules/item/itemViewTemplate.
|
||||
images.find('img').load(function() {
|
||||
self.galleryWall.fitWidth();
|
||||
});
|
||||
*/
|
||||
|
||||
$.mobile.loading('hide');
|
||||
},
|
||||
@@ -95,7 +96,7 @@ define(['jquery', 'underscore', 'backbone', 'text!modules/item/itemViewTemplate.
|
||||
self.scrollPositions = [];
|
||||
self.$arrayContent = self.$el.find('div[data-role="content"]');
|
||||
self.$arrayNavBar = self.$el.find('div[data-role="navbar"] a');
|
||||
|
||||
/*
|
||||
self.$photos = self.$el.find('#contentFoto a');
|
||||
self.$photos.on("click", function(e){
|
||||
e.preventDefault();
|
||||
@@ -115,7 +116,7 @@ define(['jquery', 'underscore', 'backbone', 'text!modules/item/itemViewTemplate.
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
*/
|
||||
for (var i = self.$arrayContent.length - 1; i >= 0; i--) {
|
||||
self.scrollPositions.push(0);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user