Skip to content

Commit

Permalink
Bug fix room type list
Browse files Browse the repository at this point in the history
-fixed empty roomtype list in room management
  • Loading branch information
alberto committed Jun 6, 2012
1 parent 8ccd95e commit 0039710
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webroot/js/views/planner.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ $(function () {
},
height: function () {
return $(".wc-time-slots").height() + 140;
//uncomment following line if you want a scroll activation.
//return $(window).height() - $("h1").outerHeight() - 1;
},
eventRender: function (calEvent, $event) {
Expand All @@ -132,7 +133,7 @@ $(function () {

},
calendarAfterLoad : function(calendar) {
// $('.wc-scrollable-grid').jScrollPane();
//nothing
},
draggable: function (calEvent, $event) {
return calEvent.readOnly != true;
Expand Down
2 changes: 2 additions & 0 deletions webroot/js/views/room.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
this.roomTypes.fetch({
success: function() {
self.initializeRoomTypes();
// render again if success is called after render method.
self.render();
},
});
this.facilitiesListView = new FacilitiesListView({
Expand Down

0 comments on commit 0039710

Please sign in to comment.