Commit Graph

163 Commits

Author SHA1 Message Date
Ingo Schommer
c077c77c25 BUGFIX: Use Controller::join_links() for all TableListField and ComplexTableField link building, to support form URLs with querystrings.
BUGFIX: If ComplexTableField::getParentRecord() can't find a record, just return null rather than erroring. (from r96555) (from r96649) (from r96775)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102407 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 03:27:03 +00:00
Ingo Schommer
89816ce6c7 BUGFIX: Fixed onchange handler for DropdownTimeField (from r89903) (from r96720)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102343 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 01:48:15 +00:00
Ingo Schommer
07aae82ac7 BUGFIX: Make sure Linkto Dropdown works right with filter() (from r96705)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102334 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 01:43:49 +00:00
Ingo Schommer
58782bcf2a BUGFIX: anchor, target, and title are not set on a link that's inserted without selection. Also when using createElement in that way firefox encodes the spaces within href parameter breaking the shortcodes. Switched to using the 'mctmp' placeholder now. (from r96623)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102328 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 01:36:12 +00:00
Ingo Schommer
bf57bee1f0 BUGFIX #4140 When clicking a tree node that was just dragged, "Stack overflow" error would be given in IE. Firebug would report "Too much recursion" (from r95973)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102323 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 00:51:43 +00:00
Ingo Schommer
89982fa115 MINOR Moved ul.tree rules from cms/css/cms_left.css to sapphire/javascript/tree/tree.css (particularly around multiselect tickbox styling) (merged from r98854)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@98864 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-12 02:41:11 +00:00
Sean Harvey
92439f2a1d BUGFIX: match returns null on not-found, querying raw.length resulted in an error. Now it's possible to add links to the page again. (from r94378)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95604 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 05:40:20 +00:00
Sean Harvey
1548eab100 BUGFIX: convert ImageFormAction form prototype syntax to jQuery syntax, merged from r94304 (from r94332)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95596 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 05:38:28 +00:00
Sean Harvey
f29c079792 MINOR fixed widget area
MINOR added select box listing anchors in text (from r94198)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95592 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 05:37:41 +00:00
Sean Harvey
1588da54d8 ENHANCEMENT Added support for loading external plugins (with relative paths) in HtmlEditorConfig. This means relative paths can be separate from the plugin name, and fixes a bug where paths containing dashes were ignored by TinyMCE.init().
ENHANCEMENT Changed sapphire/thirdparty/tinymce-advcode to use the original plugin name, and specify its relative path through HtmlEditorConfig instead. (from r94060)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95582 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 05:30:46 +00:00
Andrew Short
d5e2db7f5e BUGFIX: Included jQuery in SelectionGroup->FieldHolder(), and used new jQuery.live syntax.
From: Andrew Short <andrewjshort@gmail.com>

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95033 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-13 05:22:31 +00:00
Ingo Schommer
22bc6827ae BUGFIX Fixed drag link event handling on ComplexTableField.js (#4737) (from r93754)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93940 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-30 00:44:27 +00:00
Normann Lou
617ad7e07c BUGFIX: the folder tinymce_advcode is changed to tinymec-advcode, so should the path
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93934 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-29 23:41:22 +00:00
Mark Stephens
69818fad17 ENHANCEMENT: Change to TreeDropdownField, giving it filtering behaviour as described in ticket http://open.silverstripe.org/ticket/3007 . Its disabled by default for legacy compatibility, but enabled for HtmlEditorField so that link editor is filterable for local links, via an extra boolean parameter on TreeDowndownField.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93932 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-29 23:29:31 +00:00
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