fixed issue 412
This commit is contained in:
parent
6f4ab74340
commit
1729499290
|
@ -357,8 +357,8 @@ function Agenda(element, options, methods, viewName) {
|
||||||
|
|
||||||
function slotClick(ev) {
|
function slotClick(ev) {
|
||||||
if (!view.option('selectable')) { // SelectionManager will worry about dayClick
|
if (!view.option('selectable')) { // SelectionManager will worry about dayClick
|
||||||
var col = Math.floor((ev.pageX - bg.offset().left) / colWidth),
|
var col = Math.min(colCnt-1, Math.floor((ev.pageX - bg.offset().left) / colWidth)),
|
||||||
date = addDays(cloneDate(view.visStart), dit + dis*col),
|
date = addDays(cloneDate(view.visStart), col*dis+dit),
|
||||||
rowMatch = this.className.match(/fc-slot(\d+)/);
|
rowMatch = this.className.match(/fc-slot(\d+)/);
|
||||||
if (rowMatch) {
|
if (rowMatch) {
|
||||||
var mins = parseInt(rowMatch[1]) * options.slotMinutes,
|
var mins = parseInt(rowMatch[1]) * options.slotMinutes,
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
},
|
},
|
||||||
editable: true,
|
editable: true,
|
||||||
weekMode: 'variable',
|
weekMode: 'variable',
|
||||||
|
//isRTL: true,
|
||||||
|
|
||||||
viewDisplay: function(view) {
|
viewDisplay: function(view) {
|
||||||
console.log('viewDisplay');
|
console.log('viewDisplay');
|
||||||
|
|
Loading…
Reference in a new issue