Skip to content

Commit

Permalink
Item15236: fixed js and css not loaded
Browse files Browse the repository at this point in the history
... in EditRowPlugin
  • Loading branch information
MichaelDaum committed Jan 12, 2024
1 parent 348c45b commit d0cb8fc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
5 changes: 3 additions & 2 deletions EditRowPlugin/data/System/EditRowPlugin.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1691320505" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1705074188" format="1.1" version="1"}%
---+!! !EditRowPlugin
%FORMFIELD{"Description"}%

Expand Down Expand Up @@ -271,6 +271,7 @@ Provides the vertical row editing interface like

---++ Change History
%TABLE{columnwidths="7em" tablewidth="100%"}%
| 3.402 (12 Jan 2024) | Foswikitask:Item15236: properly register jQuery module |
| 3.401 (06 Aug 2023) | Foswikitask:Item15151: add warnings and strictness |
| 3.400 (16 Jun 2022) | Foswikitask:Item15146: performance fixes |
| 3.330 (29 Sep 2020) | Foswikitask:Item14929: fixed single zero char not rendered in table cell |
Expand Down Expand Up @@ -351,7 +352,7 @@ Provides the vertical row editing interface like
%META:FIELD{name="Description" title="Description" value=""}%
%META:FORM{name="PackageForm"}%
%META:FIELD{name="Author" title="Author" value="Crawford Currie http://c-dot.co.uk"}%
%META:FIELD{name="Copyright" title="Copyright" value="&copy; 2007-2011 Wind<nop>River Inc.<br/> &copy; 2008-2023 Foswiki Contributors"}%
%META:FIELD{name="Copyright" title="Copyright" value="&copy; 2007-2011 Wind<nop>River Inc.<br/> &copy; 2008-2024 Foswiki Contributors"}%
%META:FIELD{name="Description" title="Description" value="%25$SHORTDESCRIPTION%25"}%
%META:FIELD{name="Home" title="Home" value="http://foswiki.org/Extensions/EditRowPlugin"}%
%META:FIELD{name="License" title="License" value="[[http://www.gnu.org/licenses/gpl.html][GPL (Gnu General Public License)]]"}%
Expand Down
12 changes: 8 additions & 4 deletions EditRowPlugin/lib/Foswiki/Plugins/EditRowPlugin.pm
Expand Up @@ -6,11 +6,12 @@ use warnings;
use Foswiki::Request ();
use Foswiki::Render ();
use Foswiki::Plugins::EditRowPlugin::View ();
use Foswiki::Plugins::JQueryPlugin ();

BEGIN {
# Backwards compatibility for Foswiki 1.1.x
unless ( Foswiki::Request->can('multi_param') ) {
no warnings 'redefine';
no warnings 'redefine'; ## no critic
*Foswiki::Request::multi_param = \&Foswiki::Request::param;
use warnings 'redefine';
}
Expand All @@ -34,8 +35,8 @@ BEGIN {
}
}

our $VERSION = '3.401';
our $RELEASE = '06 Aug 2023';
our $VERSION = '3.402';
our $RELEASE = '12 Jan 2024';
our $SHORTDESCRIPTION = 'Inline edit for tables';
our $NO_PREFS_IN_TOPIC = 1;

Expand All @@ -61,6 +62,9 @@ sub initPlugin {
);
@refs = ();

Foswiki::Plugins::JQueryPlugin::registerPlugin( 'EditRow',
'Foswiki::Plugins::EditRowPlugin::JQuery' );

return 1;
}

Expand Down Expand Up @@ -124,7 +128,7 @@ __END__
Author: Crawford Currie http://c-dot.co.uk
Copyright (c) 2008-2023 Foswiki Contributors
Copyright (c) 2008-2024 Foswiki Contributors
Copyright (c) 2007 WindRiver Inc.
All Rights Reserved. Foswiki Contributors are listed in the
AUTHORS file in the root of this distribution.
Expand Down

0 comments on commit d0cb8fc

Please sign in to comment.