Author Topic: date picker not showing on 1.61  (Read 6279 times)

Niels

  • Full Member
  • ***
  • Posts: 112
    • View Profile
    • Vesper Interactive
date picker not showing on 1.61
« on: January 12, 2010, 05:56:26 pm »
somehow my date picker is not working anymore after upgrade to 1.6.1
the app shows a very small square when I click the picker icon just below the datefield's left bottom corner. see attachment.
so it's trying, but not showing.

any ideas?

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: date picker not showing on 1.61
« Reply #1 on: January 15, 2010, 11:27:54 am »
What browser+OS are you using?

Niels

  • Full Member
  • ***
  • Posts: 112
    • View Profile
    • Vesper Interactive
Re: date picker not showing on 1.61
« Reply #2 on: January 18, 2010, 12:11:59 pm »
It doesn't work in Chrome on mac and pc
if I use Firefox on the mac, it only works in the tasks section, and it doesn't work in the calendar section, very weird.

I'm doing manual updates since 1.2 so maybe somewhere the updating went crooked? some folders I can try to re-upload ?

Knut

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: date picker not showing on 1.61
« Reply #3 on: January 19, 2010, 12:12:18 pm »
Had the same problem with Firefox. I made it work by deactivating the microsoft plugins in firefox.

Go to Extras->Add-ons->Plugins and deactivate anything that belongs to MS or Windows like "Windows Presentation Foundation" and "Silverlight". Restart. I think you don't need them anyway.  ;)

Very strange but it worked for me.

VladlenPopolitov

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: date picker not showing on 1.61
« Reply #4 on: January 20, 2010, 02:49:12 pm »
Version 1.6.1 has new bug in JavaScript code in calendar function.

Only one change in calendar functions is the change in parameters order. If you change parameters order, you have to change it in all places, where this function is called. It was not done in one place. I changed it in code and date picker appeared again. I am sorry, I do not have a code just now to say what to change, it is on another PC.

 It is 100% not browser problem.

VladlenPopolitov

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: date picker not showing on 1.61
« Reply #5 on: January 20, 2010, 11:00:23 pm »
1.6.1 vs 1.6 change was:
diff -r public/assets/javascript/og/CalendarFunctions.js ../fengoffice16/public/assets/javascript/og/CalendarFunctions.js
235c235
<    og.createMonthlyViewDrag = function(div_id, obj_id, is_repetitive, type, origdate) {
---
>    og.createMonthlyViewDrag = function(div_id, obj_id, is_repetitive, origdate, type) {
----------------------------
need to change application/views/event/calendar.php line 390:

og.createMonthlyViewDrag('m_ms_div_<?php echo $milestone->getId() ?>', '<?php echo $milestone->getId()?>', false, 'milestone'); // Drag

It is solution.

Best regards,

Vladlen.

marcopico

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: date picker not showing on 1.61
« Reply #6 on: January 31, 2010, 08:47:50 am »
Hello there !

i'm having the same problem with version 1.6.2 just upgraded, with iceweasel browser running on debian.
It's possible to modifiy a date event or task as dragging is working, but as the end of the month, it's not possible anymore !!  ;)
For me it does'nt work even in the task section...

Niels : did you solve the problem ?
Vladlen : i don(t understand well your modification and don't find the same code in line 390 (but i'm running with version 1.6.2)....

If someone has a solution or an idea...
Bye bye

Marco


Niels

  • Full Member
  • ***
  • Posts: 112
    • View Profile
    • Vesper Interactive
Re: date picker not showing on 1.61
« Reply #7 on: January 31, 2010, 12:40:35 pm »
No, i have not.
and the solution provided didn't work for me either (or I'm doing something wrong).

haven't updated to 1.6.2. yet. but since you did, it might have been imported from 1.6.1 (which would be too bad)

marcopico

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: date picker not showing on 1.61
« Reply #8 on: January 31, 2010, 02:01:23 pm »
Some news :

On my system, the date picker is working until i do NOT switch to the Calendar Section.
So for Tasks, it's working until modifying or setting date from the Task Section, and for Events, it's working until i modify or set from the Main DashBoard Section.
After switching once to the Calendar Section, it stops working (after a single "blank" click) , and then like you say it is trying to show it (for all other sections).
It is working again after logging out and logging in.

If this may help...

Bye

Niels

  • Full Member
  • ***
  • Posts: 112
    • View Profile
    • Vesper Interactive
Re: date picker not showing on 1.61
« Reply #9 on: January 31, 2010, 03:13:17 pm »
I guess this should be enough information for senior members or staff to locate and fix thix error? or are there just 2 people who have this problem? (Marco & me)

marcopico

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: date picker not showing on 1.61 and 1.6.2
« Reply #10 on: February 03, 2010, 04:42:32 pm »
Hello,

is there some news for the problem described in this topic ?
Is it confirmed as a bug, or maybe does it come from a specific configuration issue ?
does anyone else have the same problem ?

if this can help (if it's a bug), i could try to run opengoo/fengoffice in debug mode.

Hope to have some news !!
Bye

Marco

marcopico

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: date picker not showing on 1.61 and 1.6.2
« Reply #11 on: April 01, 2010, 04:24:58 pm »
Hello,

maybe some news for the date picker issue ?
Still working sometimes and other time not !!
thanks

Marco

etset

  • Freshman
  • *
  • Posts: 10
    • View Profile
Re: date picker not showing on 1.61
« Reply #12 on: April 14, 2010, 08:13:32 am »

Niels

  • Full Member
  • ***
  • Posts: 112
    • View Profile
    • Vesper Interactive
Re: date picker not showing on 1.61
« Reply #13 on: April 14, 2010, 08:40:28 am »
Thx etset, that is what I get as well.
looks like the same thing...