Commit graph

119 commits

Author SHA1 Message Date
Colin Kuskie
428ea58327 Add better support for user profile fields for addresses to the Cart and the EMS. 2011-08-11 16:27:29 -07:00
Amir Plivatsky
5aa0835649 - Added support for textarea and HTMLarea fields + i18n additional labels
(editor Save/Cancel,  YUI Datatable Loading/Error messages, and also column sort tooltips (new in YUI 29.0).
- Added CSS files for the existing two DataTable Templates.  Each file should be added to the corresponding
  template as a CSS Attachment.
- Avoid terminating the editor on Enter.
- Arrange for TAB to save and move editor for next cell also for HTMLarea editor.
- Define classes "wg-dt-textarea" and "wg-dt-htmlarea" + styling for the corresponding cells.
- Commented out handleTableKeyEvent() (reason in the code).
- Implemented a simple workaround to restore the "editor" field (not preserved due to an unknown reason).
2011-07-12 23:34:27 +03:00
Amir Plivatsky
1fd29bf2a1 Added CSS file for Edit DataTable.
For now it only contains a style to prevent empty row collapsing.
2011-07-12 22:58:45 +03:00
Amir Plivatsky
50954c333f Fixed #12191. 2011-07-12 19:47:27 +03:00
ampli
5ea09092ad Fixed the following jslint warnings:
Lint at line 5 character 16: 'WebGUI' was used before it was defined.
var WebGUI = {};

Lint at line 53 character 86: Missing '()' invoking a constructor.
data[ columns[ i ].key ] = columns[i].formatter == "date" ? new Date : "";

Lint at line 89 character 21: 'i' is already defined.
for ( var i = 0; i < cols.length; i++ ) {

Lint at line 612 character 25: 'col' is already defined.
var col     = this.dataTable.getColumn( oldKey );

Lint at line 661 character 63: Missing '()' invoking a constructor.
allRecords[j].setData(newKey, new Date);
2011-06-29 04:55:59 +03:00
ampli
8e7beabaf0 Fix #12179.
In WebKit browsers, when a schema is saved, existing column
field types are reset to "Text". This is not a bug in WebKit, and
will happen in any browser that implements Option() as documented.

Option() is not supposed to have an immediate action if only the
default selection is updated on a newly added select object.
See: http://download.oracle.com/docs/cd/E19957-01/816-6408-10/option.htm .

Repeat-By:
1. New Content->basic->Datatable
2. data
3. Edit Schema
4. col1, Number, Add Column
5. col2, E-mail, Add Column
6. col3, URL, Add Column
7. Edit Schema (note that the field types got reset to "Text")
8  Save (now the field types incorrectly got overwritten in the DataTable)

Fixed by adding 4th arguments to actually make the new selection to be
equal to the default one.
2011-06-29 04:12:02 +03:00
ampli
ed0c400440 Columns in DataTable may be "randomly" deleted. This happens in updateSchema(), because both the column update loop and the row update loop use the same variable "i". Since variable scope in JS is by function and not block, the column loop variable gets overwritten.
Repeat-by:
1. New Content->Basic->DataTable
2. data
3. Edit Schema
4. col1, add Column
5. col2, add Column
6. col3, Save
7. Edit Schema

Note that col2 is missing.

Fix:
Change the name of the variable in the row loop.
2011-06-29 03:01:15 +03:00
khenn
97ec859653 Localized a global variable which interferes with other third party js packages. 2011-06-26 12:06:45 -05:00
Paul Driver
1ff1ffe423 rfe #12159: Asset Manager sort preferences 2011-06-13 13:25:01 -05:00
Paul Driver
9dd8658ceb fixed #12156: Asset Manager performance 2011-06-10 14:17:04 -05:00
Chris Hanson
75c86a68f5 Map: moved point at which hideLoading occurs to avoid potential bug. 2011-05-17 17:06:54 -05:00
Colin Kuskie
61534779d5 Add new MapPoint code for geolocation, Thingy searching and indexing and a macro for rendering thing data outside of the Thingy. 2011-05-02 13:49:18 -07:00
Colin Kuskie
ef08d0d481 i18n the controls for the JsonTable form plugin. Fixes bug #12116 2011-04-21 19:54:18 -07:00
Colin Kuskie
a7b1c5778d Revert "Fix for UTF8 URLs in static JS files. Next, all templated/snippet based JS has to be reviewed. Partial fix for bug#12065"
This reverts commit 25fe87db19.
2011-03-30 11:28:45 -07:00
Colin Kuskie
25fe87db19 Fix for UTF8 URLs in static JS files. Next, all templated/snippet based JS has to be reviewed. Partial fix for bug#12065 2011-03-28 12:39:31 -07:00
Colin Kuskie
d927f279cb Code cleanup for groupManager JS 2011-03-14 16:29:34 -07:00
Colin Kuskie
038001fb41 Remove dead code that used to be for the CodeArea. 2011-03-14 15:37:14 -07:00
Colin Kuskie
88797c1d6c Add Asset Dashlets to Dashboard. Add required and static properties to Dashboard Assets. Add caching to StockData and WeatherData assets. Add LastModifiedBy macro. Add GroupManager to the Group form control. 2011-03-09 21:33:44 -08:00
Colin Kuskie
889b2bc2fd Refix the Friend Manager pagination. Fixes bug #11965 2011-01-17 11:59:54 -08:00
Paul Driver
28f4b1b4d2 rfe #10521: Use monospaced font in template edit textarea 2011-01-10 12:31:15 -06:00
Colin Kuskie
f883d8b35f Remove the YUI based code editor from WebGUI, and replace it with a textarea. Fixes bug #1618, and others. 2010-10-05 14:44:53 -07:00
Colin Kuskie
34c48e6e41 Fix type handling in the new jsontable JS. Kudos to khenn for the patch. Fixes bug #11810 2010-09-07 10:52:14 -07:00
khenn
3141a6ed5e Fixed injection issues with SQL. Fixed a JS issue introduced in previous bug fix. 2010-08-10 21:35:07 -05:00
khenn
c3989308fa Fixed international problem in JavaScript file 2010-08-10 20:42:58 -05:00
khenn
22da7c4114 initial release of Asset Report asset allowing reports to be created using asset properties. 2010-08-10 18:53:22 -05:00
Doug Bell
625da8bb41 fix 11432 DataTable date input 2010-08-10 14:05:35 -05:00
Doug Bell
69b7fe0465 fix jsontable and use it for Calendar feeds 2010-07-13 13:12:47 -05:00
Doug Bell
b86785faec fixed saving code editor without toggling 2010-02-25 15:40:24 -06:00
Colin Kuskie
0fb7a60917 Fix DataForms with dates. 2010-02-23 20:59:49 -08:00
Doug Bell
704518007f fix editor state toggle 2010-02-23 16:57:42 -06:00
Doug Bell
c9694d3e63 fix more problems, concede to naysayers 2010-02-23 16:31:40 -06:00
Colin Kuskie
83395fbe95 Fix Date handling by the DataTable, again... Now it uses a custom date parser to take the ISO date format. Fixes bug #11428. 2010-02-23 12:56:00 -08:00
Doug Bell
8d4a63b774 fix line breaks for IE6 2010-02-22 18:14:13 -06:00
Doug Bell
491f587c7d fix newline problems with code editor 2010-02-22 18:07:56 -06:00
Doug Bell
0041aee54b fix #11285: Pasting HTML into Code Editor in IE 2010-02-11 14:49:02 -06:00
Doug Bell
d31be40a59 fixed #11322: Code Editor Broken 2010-02-08 23:16:58 -06:00
Doug Bell
e9fdab2bf5 fix #11349: Code Editor returns \n for blank content 2010-02-08 19:37:12 -06:00
Doug Bell
db14bc6458 fix 10888 final touches on map point bugs 2009-11-23 16:52:01 -06:00
Doug Bell
a1413a95b0 fix 11177 Code editor steals focus on load 2009-11-23 16:26:58 -06:00
Doug Bell
16cfc756ce fix 11185 Code editor broken in IE8 for SQLreport 2009-11-23 16:21:49 -06:00
Colin Kuskie
9d14e8b420 Fix rendering of initial DataTable in IE7, IE8. Fixes bug #11205.
Added TR, TD tags to table containing the DataTable.  Also,
ran dataTable.js through jslint and fixed many issues.
2009-11-09 16:51:38 -08:00
Colin Kuskie
deff69ae14 Merge commit 'ups-driver/master' 2009-11-03 20:37:53 -08:00
Colin Kuskie
738e8980e3 Remove regexp processing from AssetManager URL handling, since all it ever does is append. 2009-10-28 09:30:17 -07:00
Colin Kuskie
74e4e25bc0 Fix the More menus in the AssetManager. Fixes bug #11069.
Also, some jslint cleanup of the code.
2009-10-28 09:15:51 -07:00
Colin Kuskie
697353558c Fix JS i18n issues with IE7 and the datepicker. Fixes bug #11165 2009-10-27 15:12:53 -07:00
Doug Bell
b577b950e9 fixed: #10887: Map Point dropdown doesn't update 2009-10-27 01:03:00 -05:00
Doug Bell
b24a3f4eb5 fixed #11168 (autocommit map points) and #10888 (editing map points) 2009-10-26 22:17:58 -05:00
Colin Kuskie
a473773214 Align calender i18n for weekdays with default settings. Fixes bug #11157 2009-10-20 09:30:23 -07:00
Doug Bell
dae7215922 fixed #10888: Problems with Map adding points 2009-10-15 20:51:03 -05:00
Colin Kuskie
27dc773139 Fix the crumb trail flyout menu in the AssetManager. Fixes bug #11080 2009-10-08 18:51:23 -07:00