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

Commit

Permalink
Add min height for resource dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
guanhuan committed Jul 25, 2016
1 parent f1e1245 commit 188733f
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 188733f

Please sign in to comment.