• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
file richtext-or-file.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/richtext-or-file.js
template::widget::merge_tag_attributes has to be public already, as it is used by template::widget::select_locales

Fix typo

Form widget attributes reform:

- consolidate the logics to merge tag attributes coming from the adp and the tcl definitions of widgets into a private api

- change the previous behavior of having attributes coming from the adp (aka the tag_attributes argument) take over attributes coming from the element

See https://openacs.org/forums/message-view?message_id=5799349

  1. … 1 more file in changeset.
Revert in order to provide a meaningful log message

*** empty log message ***

Do not override existing classes on the submit button

Many thanks to Jonathan Kelley for reporting the issue

Reinstate behavior:

behave again that when a date fragment value is empty, the padded value will also be empty and not a sequence of zeroes

See https://openacs.org/forums/message-view?message_id=5798230

Update italian localization

    • -0
    • +1
    ./catalog/acs-templating.it_IT.ISO-8859-1.xml
  1. … 6 more files in changeset.
Improve fix: if any other click handler would take longer than the timeout (e.g. an alert) don't wait again

Make sure disabling the button always happens before re-enabling the button and that both happen after all other click handlers have completed

Add acknowledgment

Fix navigation

Provide a zero-dependency Modal implementation

This uses CSS and little JavaScript. The goal is to provide a Modal implementation that is independend from frameworks such as Boostrap. This is actually very possible in modern CSS and JavaScript.

Documentation with examples is included.

file modal.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/doc/gadgets/modal.adp
file modal.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/modal.js
file modal.css was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/modal.css
Provide a zero-dependency Tooltip implementation

This uses CSS and little JavaScript. The goal is to provide a Tooltip implementation that is independend from frameworks such as Boostrap. This is actually very possible in modern CSS and JavaScript.

Documentation with examples is included.

file index.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/doc/gadgets/index.adp
file tooltip.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/tooltip.js
file tooltip.css was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/tooltip.css
file tooltip.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/doc/gadgets/tooltip.adp
adp:toggle_button: added "id" attribute

skip "-url" in "export_vars -url" since it is the default

  1. … 11 more files in changeset.
fix cut&paste error

Cleanup debug statements, re-instate safe tmpfile check

Fixes acs-templating automated tests

adp:toggle_button: add "href" (default "#") for use when ... tag="a" ...

bumped version numbers to 5.10.1b1

  1. … 85 more files in changeset.
regenerated documetation

  1. … 27 more files in changeset.
Added attributes "tag" and "type" to "adp:toggle_button" to increase applicability

- Bootstrap3 is picky and allows just "<a>" tags for the navigation

buttons, whereas Bootstrap4 and 5 would also allow <button> with

appropriate classes for nav-items and nav-links.

So, use <... tag="a"... > for use of nav buttons with potential

Dropdowns with Bootstrap 3.

- Potential attributes for this tag are:

- "tag" (default "button")

- "toggle"

- "target"

- "type" (default "button")

The attribute "type" is just valid when "tag" is "button".

- Many thanks to Monika Andergassen for the suggestion.