Commit Graph

149 Commits

Author SHA1 Message Date
Ingo Schommer
ea39dac559 BUGFIX: Fixed onselect action handling of multiselect trees (manual jsparty merge from r91331)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92572 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:53 +00:00
Ingo Schommer
483ed4d0f2 ENHANCEMENT #3729: Updated the link inserter to insert a shortcode rather than a plain HTML link. (manual jsparty merge from r88518)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92570 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:49 +00:00
Ingo Schommer
d0161319c2 MINOR Added readme and license for tree.js (manual jsparty merge from r87745)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92569 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:47 +00:00
Ingo Schommer
ba281cf434 ENHANCEMENT Oncomplete ajax callbacks for TableListField.js->refresh()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92561 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:29 +00:00
Ingo Schommer
dca8c0cb6f merging
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92557 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:06 +00:00
Ingo Schommer
1afe18a268 MINOR Formatting in TabSet.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92554 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:38 +00:00
Ingo Schommer
0231e8b8ea BUGFIX Fixed CalendarDateField.js concrete definition
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92552 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:32 +00:00
Ingo Schommer
32c44b071d MINOR Added prototypefix helper scripts from jquery13 module to fix document.getElementsByClassName() override by prototypejs
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92548 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:19 +00:00
Ingo Schommer
76d2886a70 MINOR Moved tiny_mce_imrpovements.js from jsparty/ to sapphire/javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92547 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:16 +00:00
Ingo Schommer
f7cff273b7 MINOR Moved jsparty/tree to cms/javascript/tree
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92545 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:08 +00:00
Ingo Schommer
d95f867945 ENHANCEMENT Triggering jQuery events in TreeSelectorField.js in preparation to switching the tree logic to jQuery. This prevents developers from using the soon-to-be-deprecated Observable prototype
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92541 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:47 +00:00
Ingo Schommer
28109df438 ENHANCEMENT Removed UniqueField.js dependency to CMS-related statusMessage() javascript class, and using jQuery even triggers instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92540 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:44 +00:00
Ingo Schommer
0b25cb9e14 ENHANCEMENT Removed UpdateURL.js, moved logic to CMSMain.js
ENHANCEMENT Using plain TextField for URLSegment in SiteTree->getCMSFields(), and using custom logic in CMSMain.js. The field didn't have any serverside validation anyway, and the remaining parts are quite custom

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92539 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:42 +00:00
Ingo Schommer
f60e94b1ca ENHANCEMENT Using native jQuery.getScript() in customized jQuery.ondemand plugin. Moved processDemandHeaders() into jQuery namespace, and adjusted customized prototype.js library
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92537 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:36 +00:00
Ingo Schommer
b930fbfe20 BUGFIX Setting cookie name in TabSet.js to avoid writing new cookies with arbitrary identifiers on every page load
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92529 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:13 +00:00
Ingo Schommer
817d1a0132 MINOR Removed usage of deprecated baseHref() in InlineFormAction.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92523 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:58 +00:00
Ingo Schommer
146979b1b1 MINOR Documentation and code formatting for jquery.ondemand.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92520 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:51 +00:00
Ingo Schommer
073ebbe6ea MINOR Moved sapphire/javascript/core to sapphire/javascript/jquery-ondemand to fit with patterns in sapphire/thirdparty
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92519 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:49 +00:00
Ingo Schommer
5d6233a59e MINOR Indentation in customized jquery.ondemand.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92517 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:44 +00:00
Ingo Schommer
b1baa84efb ENHANCEMENT Using jQuery UI datepicker in CalendarDateField
API CHANGE Removed javascript datepicker functionality in DMYCalendarDateField

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92512 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:31 +00:00
Ingo Schommer
e233b4b76b MINOR Removed tab overflow setting from TabSet.js, now located in CMSMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92511 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:29 +00:00
Ingo Schommer
2a53488bb8 ENHANCEMENT Storing last selected tab in a cookie for TabSet.js. Requires jquery.cookie plugin.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92508 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:21 +00:00
Ingo Schommer
0630051d58 API CHANGE Added jquery_improvements.js and prototype_improvements.js (moved from jsparty/ folder)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92498 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:29:30 +00:00
Ingo Schommer
396a25b96f BUGFIX Renamed property "queue" to "ondemand_queue" to make compatible with jQuery 1.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92487 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:22:57 +00:00
Ingo Schommer
036b77a54d MINOR Removed absolete concrete triggers
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92486 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:22:54 +00:00
Ingo Schommer
32ada0f0af ENHANCEMENT Using "concrete" jQuery plugin for SilverStripe tabset
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92485 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:22:52 +00:00
Ingo Schommer
7856df5f37 ENHANCEMENT Using jQuery UI and "concrete" tabs for Security/login with multiple authentication methods (e.g. CMS-login and OpenID)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92484 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:22:49 +00:00
Ingo Schommer
2a74a8b14f ENHANCEMENT Using jQuery UI tabs in TabSet form field. Using custom javascript to ensure sizing of tabs within layout-managed containers.
API CHANGE Changed CSS-class in TabSet template from "tabstrip" to "ss-tabset".

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92483 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:22:47 +00:00
Ingo Schommer
fe6c80cf1f MINOR Removed absolete concrete triggers
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92481 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:22:43 +00:00
Ingo Schommer
3e3fc3d7d7 ENHANCEMENT Using "concrete" jQuery plugin for SilverStripe tabset
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92479 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:22:39 +00:00
Ingo Schommer
deb691a481 ENHANCEMENT Using jQuery UI tabs for Security/login with multiple authentication methods (e.g. CMS-login and OpenID)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92478 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:22:36 +00:00
Ingo Schommer
b3f0a9a034 ENHANCEMENT Using jQuery UI tabs in TabSet form field. Using custom javascript to ensure sizing of tabs within layout-managed containers.
API CHANGE Changed CSS-class in TabSet template from "tabstrip" to "ss-tabset".

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92477 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:22:33 +00:00
Ingo Schommer
1d3feb9386 MINOR added stubs to allow widgets to use treedropdown fields (from r91850)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92456 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 01:42:44 +00:00
Tom Rix
7dd0de71c0 MINOR revert r91306
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@91332 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-11 22:12:42 +00:00
Tom Rix
a1848c233d MINOR revert r89202 from sminnee, broke multiselects, as there is no method called selectNode on tree.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@91306 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-11 20:12:52 +00:00
Sam Minnee
e6428ef1d9 BUGFIX: Fixed link generation in CTF default action (from r89026)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@89213 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:41:01 +00:00
Sam Minnee
dbe0cd925e API CHANGE: Don't automatically set a default action on complex table fiels. It leads to too many accidental clicks when trying to click a non-default action. Still allow for people to explicitly select a default action. (from r88961)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@89205 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:39:13 +00:00
Sam Minnee
9809c0164f BUGFIX: Update hidden field of TreeMultiselectField as soon as checkboxes are clicked. Related to http://mingle.silverstripe.com/projects/air_nz_cms_enhancements/cards/139 (from r88935)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@89202 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:38:42 +00:00
Sam Minnee
39ceae44c1 BUGFIX: Fix items not deleting on tablefields (from r86099)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@89169 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:11:13 +00:00
Andrew Short
264b484e82 ENHANCEMENT: Refactored TreeDropdownField to generate and manage the tree using Hierachy's ParentID data, rather than relying on the client.
From: Andrew Short <andrewjshort@gmail.com>

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@88482 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-11 00:07:05 +00:00
Andrew Short
7dfadd869c BUGFIX #2133: Removed UniqueTextField JavaScript that was causing URLSegments to be incorrectly rewritten if they had a number at the end.
From: Andrew Short <andrewjshort@gmail.com>

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@88471 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-11 00:06:56 +00:00
Normann Lou
a1773eac3d MINOR: fine tuning behavior of selected radio in SelectionGroup
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@85194 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-25 22:38:52 +00:00
Normann Lou
a75169a8ca BUGFIX: SelectionGroup.js typo, prevAl()l change to nextAll()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@85039 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-24 03:36:58 +00:00
Normann Lou
4ee62ae7eb ENHANCEMENT: convert SelectionGroup.js from prototype version to jQuery version
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@84860 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-20 01:54:39 +00:00
Normann Lou
02f4ff232f ENHANCMENT: get svn merged revision 84806:84808 from branches/iss
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@84814 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-19 05:47:02 +00:00
Ingo Schommer
cc11d6e2d4 BUGFIX: TableField? delete link should not trigger a ajax request if the record row is not a real record. (merged from branches/2.3-nzct)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@82066 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-16 23:58:01 +00:00
Ingo Schommer
11b30e8db9 MINOR Moved NumericField? javascript logic from CalendarDateField?.js into new NumericField?.js. Removed unused DMYCalendarDateField javascript logic, the field behaves just fine with standard input fields and no auto-focus magic on the input fields. (merged from branches/2.3-nzct)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@82061 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-16 23:52:35 +00:00
Sam Minnee
9fdf9e1dc8 BUGFIX #3892: Removed reference to non-existent blockquote module in front-end tiymce.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@80651 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-30 22:55:53 +00:00
Normann Lou
72a6a4cbc3 FEATURE: roll back r79604 which is to make a ToggleCompositeField able to save back a boolean value if its name is a boolean field of the related object. the reason is this feature is not necessary cos SelectionGroup address the same thing.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@79616 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-19 02:38:33 +00:00
Normann Lou
54a79cf9f3 FEATURE: make a ToggleCompositeField able to save back a boolean value if its name is a boolean field of the related object.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@79604 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-19 01:38:34 +00:00