| Issue 1326: | Customize the resize handle text ("=") | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Hello,
Is there a way to disable or change the resize label in the agenda views without disabling the ability to resize the event? My users have some events where there is no title for the event and the event just renders with the '=' sign that indicates it is able to be resized.
I would like a way to disable this.
To allow for this behavior, I added in the option "resizeLabel" and changed the portion of slotSegHTML from this:
if (seg.isEnd && isEventResizable(event)) {
html +=
"<div class='ui-resizable-handle ui-resizable-s'>=</div>";
}
to this:
if (seg.isEnd && isEventResizable(event)) {
html +=
"<div class='ui-resizable-handle ui-resizable-s'>" + opt('resizeLabel') + "</div>";
}
If there is another way to get this behavior without changing the javascript file, please let me know.
Thanks!
Jul 22, 2014
(No comment was entered for this change.)
Labels:
milestone-skeleton
Jul 23, 2014
This is now possible in v2.1 (beta) http://blog.arshaw.com/1/post/2014/07/fullcalendar-210-beta.html Here is the CSS that does it: https://github.com/arshaw/fullcalendar/blob/v2.1.0-beta1/dist/fullcalendar.css#L758 I would really appreciate if you could verify this. Thanks a lot!
Aug 5, 2014
Sorry, I've been busy. Will verify this week.
Aug 14, 2014
(No comment was entered for this change.)
Status:
Implemented
Aug 26, 2014
This issue has been resolved with the official release of v2.1.0: http://blog.arshaw.com/1/post/2014/08/fullcalendar-210-released.html Please post any follow-up bug reports or feature requests as separate issues. Thanks.
Status:
Released
Aug 26, 2014
Works perfectly! Thanks Adam. |
|
| ► Sign in to add a comment |
Status: Accepted
Labels: Type-Behavior