Hadi Nategh
62fa190439
Handle converting string date/time formats to Date object for date-time widget
2014-05-05 14:09:47 +00:00
Hadi Nategh
8b326fb60f
Move styling of date-durtation widget input field to specific class in etemplate2.css
2014-03-12 13:13:18 +00:00
Hadi Nategh
c43550a54b
Add proper css class to date-duration widget
2014-03-10 15:20:40 +00:00
Nathan Gray
8a3cda964e
Fix clearing date field does not fire change event
2014-03-06 21:17:37 +00:00
Hadi Nategh
1561dc1caf
Fix label attribute in date-time readonly widget
2014-02-21 12:22:33 +00:00
Ralf Becker
c8603676ef
allow 0 as empty-value for date and date-time widgets, as that is used a lot eg. in InfoLog
2014-01-30 17:18:05 +00:00
Ralf Becker
01fad19d9d
fixed just broken date-time widget and duration not accepting commas
2014-01-30 16:24:58 +00:00
Ralf Becker
d09391c0ee
fixed validation from date-timeonly and also no longer triggering change events for initial content
2014-01-30 15:30:14 +00:00
Ralf Becker
9e29d8b282
docu update to fix ide warnings and indention
2014-01-29 18:55:24 +00:00
Ralf Becker
a659b49f51
silently fix skiped minutes or times with just one digit, as parser is quite pedantic ;-)
2014-01-29 13:10:31 +00:00
Ralf Becker
db3422fccb
fixed date(-time)-picker looses changes made in textfield directly, we now bind to change of input instead using onSelect of picker
...
also changed parsing of date(-time) strings to use parser of datetimepicker with our format, instead of date object, which does not understand our formats
2014-01-29 11:27:24 +00:00
Ralf Becker
09c5ea8df5
fixed datetime widget returns march, if selecting febuary on a current date with a day >28
2014-01-29 10:18:07 +00:00
Nathan Gray
cfa981480e
Fix selecting 00:00 in datetime widget re-set to current time
2014-01-14 13:32:08 +00:00
Nathan Gray
6418c06b18
No seconds or milliseconds, in date/times
2014-01-14 12:35:28 +00:00
Hadi Nategh
5517a29d47
Fix datepicker error,"hour is undefined" from et2_widget_date
2013-09-13 13:06:46 +00:00
Hadi Nategh
c1683552ba
et2_widget_date-> datetime:Fix replacement of entered time manually with actuall time
2013-09-12 11:45:26 +00:00
Nathan Gray
838966ae9e
Properly fix date-timeonly js side to return a timestamp as all date widgets, server side converts it to expected format, same as others.
2013-08-26 17:04:43 +00:00
Nathan Gray
dba3bcc2aa
Update timepicker, some work on date-timeonly so it returns a value
2013-08-20 18:37:09 +00:00
Ralf Becker
d244ab7c79
NOT using html5 input type="time", as there is (intentionally) no way to control time-format, but with current state of html5 support, our preference is more relyable and we dont want users to open bugs because we do not respect their EGroupware time-format preference
2013-08-20 09:42:00 +00:00
Nathan Gray
1b270b2d6f
Use an etemplate / top template level prefix to avoid DOM ID collisions
2013-07-17 13:08:48 +00:00
Nathan Gray
2bd53e72d4
Change evaluation order to get popup selector working again after last fix.
2013-07-08 22:24:36 +00:00
Nathan Gray
683a624710
Fix for some customfield dates going missing
2013-06-18 23:24:14 +00:00
Ralf Becker
e64c4fbd04
add some JSDoc so Eclipse shows an outline: @memberOf and @augments (not yet understood by Eclipse), also fixed many warnings (mostly missing semicolons)
2013-04-13 19:00:13 +00:00
Nathan Gray
98ad9dcd15
Add legacy option data format to silence a warning, though not needed client side
2013-02-11 08:08:28 +00:00
Nathan Gray
b42e913478
Add a new date sub-widget, date-time_today that displays the time if value is today, the date if the value is not today
2013-02-08 11:10:45 +00:00
Nathan Gray
e094b35394
Get nextmatch_customfilter working
2013-02-07 14:36:19 +00:00
Ralf Becker
1312a397f1
only call replace on _value of type string, otherwise (eg. null) gives exception
2013-02-05 08:55:09 +00:00
Nathan Gray
32dc09b376
Fix wierdness in date/time values by using the individual pieces
2012-04-16 21:32:42 +00:00
Nathan Gray
ab50dd80c8
Treat 0 values as empty, and don't show them
2012-04-04 20:05:53 +00:00
Nathan Gray
26f5f2e504
Stop error on invalid format, use a default
2012-03-30 14:30:26 +00:00
Nathan Gray
fc2746bc05
Fix typos
2012-03-28 23:05:42 +00:00
Nathan Gray
e2b13e3821
Fix blank (null) dates
2012-03-28 19:05:48 +00:00
Nathan Gray
9a5ce92eb4
Only re-create the widget if the type is actually changed
2012-03-22 15:56:16 +00:00
Nathan Gray
674f801c37
Handle user blanking date input box
2012-03-20 21:46:22 +00:00
Nathan Gray
e28763b073
Fire change when value is changed
2012-03-20 17:45:51 +00:00
Nathan Gray
11ba27722e
Make sure date value gets updated when popup is closed, and when framework calls set_value()
2012-03-20 14:51:02 +00:00
Nathan Gray
ea084fb41f
Don't show duration if the field is empty for the row
2012-03-13 19:38:48 +00:00
Nathan Gray
1d74169848
Add time picker popup
2012-03-12 21:20:46 +00:00
Andreas Stöckel
d486e50a57
phpgwapi:
...
* Changed way of how "webserverUrl" gets set - any type of data can now be
injected into the egw object by creating an object with the data and an
entry "prefsOnly" set to true. This allows to ensure, that "webserverUrl"
is the first thing that is being set in the egw object (as needed when
including new JS/CSS files at runtime)
jsapi:
* Fixed including JS/CSS files at runtime in other windows than the root
window
* Added "ready" function/module, which provides an alternative to the
$j("ready") function. The ready module provides the functionality to
postpone calling the "ready" until certain events happened.
* using jQuery calendar object instead of jscalendar in the calendar
function.
* added "jquery" module which takes care of including all jQuery modules
in all windows
* added possibility for modules to update constants using the "constant"
function.
* added possibility for modules to access certain other modules using
the "module" function
etemplate:
* Using new egw(window).ready function to build the template first if
loading has finished.
2012-03-09 15:32:29 +00:00
Nathan Gray
73817441cf
jQuery-UI datepicker as date selection popup
2012-03-09 00:36:35 +00:00
Andreas Stöckel
df06f6657c
Now always including egw and etemplate2 javascript code if we are in the top window
2012-03-08 14:05:00 +00:00
Nathan Gray
c09d09a8c1
Fix some problems with dates set with string values - they were parsed as UTC, but server sends user times
2012-03-08 00:20:04 +00:00
Andreas Stöckel
049cbd88dc
Now using the etemplate code from the root instance (etemplate2.js acts as a egw api plugin); fixed egw.json plugins; fixed problem with 'instanceof Object', which does not work when sharing code over multiple windows
2012-03-06 13:22:01 +00:00
Andreas Stöckel
14e6ceecb6
Integrated application specifig egw api into etemplate2 code
2012-03-02 10:44:56 +00:00
Nathan Gray
c21469a106
Display null dates as empty
2011-10-19 15:15:54 +00:00
Nathan Gray
0700876775
Handle null values
2011-10-12 20:04:16 +00:00
Nathan Gray
860d37912b
If value is '', don't show a unit either
2011-09-22 21:28:26 +00:00
Nathan Gray
c7d3cba6c6
Fix error breaking dates in nm
2011-09-15 14:02:24 +00:00
Nathan Gray
2302de28f2
Add some et2_IDetachedDOM handling
2011-09-14 20:52:59 +00:00
Nathan Gray
8b1a63e1ee
Transform attributes before passing them to the row's widget
2011-09-14 15:44:54 +00:00