First of all, I just want to thank you for such a great module.

The problem I'm experiencing is when I am editing editable date fields within my table view. The date fields are using the JSTools with a JScalendar popup.

The popup calendar's lose their configuration settings, which causes the calendar to return the wrong date formats.

I did notice that the "add node" form below the editablefields works fine.

Any idea of what is causing this?

Thanks,

Glenn

Comments

markfoodyburton’s picture

Status: Active » Postponed (maintainer needs more info)

Not sure... I'd need more info (and I'd need to try it out) to be able to help...
I'll try and take a look sometime.

gmclelland’s picture

Hi Mark,

Here's what I am trying to do:

I have two content types, criminal and offense.

Criminal has fields like:
name,image,height,weight,etc...

Offense has fields like:
sentence, counts, victim age, victim sex, and disposition (which is a date field that uses a popup jscalendar from the jstools module)

I am using the editablefields module to allow me to edit/add an offense on the criminal's add/edit page.

So an outline of the criminal's add/edit page looks like this:
-------------------------------------------------------
CRIMINAL
-name
-image
-height
-weight

[preview] [submit]

OFFENSES (a table view with editable fields that list the offenses of the criminal that is being edited)
sentence, counts, victim age, victim sex, disposition
example: 5 years in prision, 4 counts, 20 yrs old, female, AUG 14,2007 (note: this is the problem field)
example: 6 years in jail, 5 counts, 22 yrs old, male, OCT 15, 2006 (note: this is the problem field)

[submit]

ADD NEW OFFENSE
-sentence
-counts
-victim age
-victim sex
-disposition (note: this date field works fine with jscalendar)

[preview] [submit]

-------------------------------------------------------

So the problem is that the jscalendar popup is losing it's settings on the editable "disposition" fields. So when a user is entering in the disposition and clicks on the calendar icon a popup calendar appears and the user selects a date, but the date that is returned is in the wrong format. It looks like "2012-04-10 00:00:00" this instead of 04/10/2012.

Any idea of what is causing this?

Thanks,
Glenn

mengi’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (fixed)

Per https://drupal.org/node/2148735, 5.x is longer maintained so issue is closed.

mengi’s picture

Status: Closed (fixed) » Closed (won't fix)