| Issue 1736: | disableResizing based on view | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I would like to be able to check the name of the current view and, if it is 'month', disable resizing. I know how to get the view.name and I think I know how the code should work but no matter where I put it the code won't work. I was originally thinking something like this:
if (view.name == 'month') {
resizeit = true
}
else {
resizeit = false
}
disableResizing: resizit,
That definitely doesn't work and I get all sorts of errors with the code. So I thought maybe something more like this:
disableResizing: function resizzle() {
if (view.name == 'month') {
return true
}
else {
return false
}
},
I'm still fairly new to this so I may be way out in left field. Hopefully this gives a good idea of what I'm trying to get and someone can give me the correct placement/syntax. I appreciate any help!
Aug 23, 2013
Project Member
#1
adamrs...@gmail.com
Status:
Done
|
|
| ► Sign in to add a comment |