推荐应用 
Discuz X3.2 日历选择不出现选择器的解决方案
发布于 2014-06-11
 日历!DISCUZ X3.2的又一个不应该是bug的问题,究其原因,竟然是程序员删除了JS!太不严谨了,实在是对测试的人和开发组的程序员表示万分的无语!
修改方法,打开文件static/js/calendar.js
搜索
在任意的一个上面加入
保存覆盖即可Discuz X3.2 日历控件报错 点击无效没反应的最新解决办法
http://www.discuzlab.com/thread-14009-1-1.html
修改方法,打开文件static/js/calendar.js
搜索
function在任意的一个上面加入
function showcalendar(event, controlid1, addtime1, startdate1, enddate1, halfhour1, recall) {
  controlid = controlid1;
  addtime = addtime1;
  startdate = startdate1 ? parsedate(startdate1) : false;
  enddate = enddate1 ? parsedate(enddate1) : false;
  currday = controlid.value ? parsedate(controlid.value) : today;
  hh = currday.getHours();
  ii = currday.getMinutes();
  halfhour = halfhour1 ? true : false;
  calendarrecall = recall ? recall : null;
  var p = fetchOffset(controlid);
  $('calendar').style.display = 'block';
  $('calendar').style.left = p['left']+'px';
  $('calendar').style.top  = (p['top'] + 20)+'px';
  doane(event);
  refreshcalendar(currday.getFullYear(), currday.getMonth());
  if(lastcheckedyear != false) {
    $('calendar_year_' + lastcheckedyear).className = 'calendar_default';
    $('calendar_year_' + today.getFullYear()).className = 'calendar_today';
  }
  if(lastcheckedmonth != false) {
    $('calendar_month_' + lastcheckedmonth).className = 'calendar_default';
    $('calendar_month_' + (today.getMonth() + 1)).className = 'calendar_today';
  }
  $('calendar_year_' + currday.getFullYear()).className = 'calendar_checked';
  $('calendar_month_' + (currday.getMonth() + 1)).className = 'calendar_checked';
  $('hourminute').style.display = addtime ? '' : 'none';
  lastcheckedyear = currday.getFullYear();
  lastcheckedmonth = currday.getMonth() + 1;
  if(halfhour) {
    $('halfhourselector').style.display = '';
    $('fullhourselector').style.display = 'none';
  } else {
    $('halfhourselector').style.display = 'none';
    $('fullhourselector').style.display = '';
  }
  if(BROWSER.ie && BROWSER.ie < 7) {
    $('calendariframe').style.top = $('calendar').style.top;
    $('calendariframe').style.left = $('calendar').style.left;
    $('calendariframe').style.width = $('calendar').offsetWidth;
    $('calendariframe').style.height = $('calendar').offsetHeight;
    $('calendariframe').style.display = 'block';
  }
  initclosecalendar();
}保存覆盖即可Discuz X3.2 日历控件报错 点击无效没反应的最新解决办法
http://www.discuzlab.com/thread-14009-1-1.html



添加微信客服
有偿服务QQ
关注公众号