From bfb7e19d367cef0bd4242c55dd0e612d2c84c588 Mon Sep 17 00:00:00 2001 From: wyu <kknd09321@nate.com> Date: 수, 01 12월 2021 21:29:21 +0900 Subject: [PATCH] 이슈 리스트 프로젝트 이름 두개 셋팅 수정 달력 크기 수정 진행중 --- src/main/webapp/bower_components/bootstrap-daterangepicker/daterangepicker.js | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/bower_components/bootstrap-daterangepicker/daterangepicker.js b/src/main/webapp/bower_components/bootstrap-daterangepicker/daterangepicker.js index e67d2dc..70477aa 100644 --- a/src/main/webapp/bower_components/bootstrap-daterangepicker/daterangepicker.js +++ b/src/main/webapp/bower_components/bootstrap-daterangepicker/daterangepicker.js @@ -52,6 +52,7 @@ this.autoUpdateInput = true; this.alwaysShowCalendars = false; this.ranges = {}; + this.isSingle = false; this.opens = 'right'; if (this.element.hasClass('pull-right')) @@ -94,8 +95,13 @@ options = $.extend(this.element.data(), options); //html template for the picker UI + var single = ''; + if ( options.isSingle) { + single = '-single'; + } + if (typeof options.template !== 'string' && !(options.template instanceof $)) - options.template = '<div class="daterangepicker dropdown-menu">' + + options.template = '<div class="daterangepicker' + single + ' dropdown-menu">' + '<div class="calendar left">' + '<div class="daterangepicker_input">' + '<input class="input-mini form-control" type="text" name="daterangepicker_start" value="" />' + -- Gitblit v1.8.0