Skip to content

Commit

Permalink
Merge pull request #300 from bmic-development/kg-survey_select_datepi…
Browse files Browse the repository at this point in the history
…cker_not_working

KG - Initialize Selectpickers/DateTimePickers When Taking Step 4 Survey
  • Loading branch information
Stuart-Johnson committed May 30, 2017
2 parents 8ea55ef + fa6b2ef commit e3dffd6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/surveyor/responses/new.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@
# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
$('#modal_place').html("<%= j render 'surveyor/responses/new_form_modal', survey: @survey, response: @response, review: @review, sub_service_request: @sub_service_request %>")
$('#modal_place').modal('show')
$('.datetimepicker.date').datetimepicker(format: 'MM/DD/YYYY', allowInputToggle: true)
$('.datetimepicker.time').datetimepicker(format: 'hh:mm A', allowInputToggle: true)
$('.selectpicker').selectpicker()

0 comments on commit e3dffd6

Please sign in to comment.