Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #138 from compucorp/develop
Browse files Browse the repository at this point in the history
Add min height for resource dialog
  • Loading branch information
guanhuan authored Jul 25, 2016
2 parents 5069038 + 188733f commit d7e3377
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/CRM/Booking/Form/SelectResource.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ cj(function ($) {
selectedItem.start_date = moment(ev.start_date).format("YYYY-MM-DD HH:mm");
selectedItem.end_date = moment(ev.end_date).format("YYYY-MM-DD HH:mm");
selectedItem.is_updated = true;
basket[ev.id] = selectedItem; //update item in basket
basket[ev.id] = selectedItem; //update item in basket
updateBasketTable(selectedItem); //render ui
});

Expand Down Expand Up @@ -150,6 +150,7 @@ cj(function ($) {
title: ts('Add resource to basket'),
modal: true,
minWidth: 600,
minHeight: 400,
open: function () {
$('#crm-booking-new-slot').html(['<div class="crm-loading-element">', ts('Loading ...'), '</div>'].join(""));
//CiviCRM api call to set up configuration options
Expand Down

0 comments on commit d7e3377

Please sign in to comment.