Skip to content
Permalink
Browse files

Item14566: don't cache a null result

in foswiki.getPreference()
  • Loading branch information...
MichaelDaum committed Dec 11, 2017
1 parent 5f04286 commit 4ea7f2fde3c13df2eed543c0f013db8252935fd6
@@ -125,11 +125,12 @@ required for Foswiki 1.1 or later.

---++ Change History
%TABLE{columnwidths="7em" tablewidth="100%"}%
| 11 Dec 2017: | (7.25) - Item14565: bundle jquery.validate js files into one |
| 8 Dec 2017: | (7.24) - Released with Foswiki 2.1.5<br>\
Item14518: JQueryPlugin should warn configure if an older version of jquery is selected.<br/>\
Item14555: make build work with latest uglifyjs 3.<br/>\
Item14559: regression via Item13898 - broken topic selectors.<br/>\
| 11 Dec 2017: | (7.25) - Item14565: bundle jquery.validate js files into one <br />\
Item14566: don't cache a null result in foswiki.getPreference() |
| 8 Dec 2017: | (7.24) - Released with Foswiki 2.1.5<br />\
Item14518: JQueryPlugin should warn configure if an older version of jquery is selected.<br />\
Item14555: make build work with latest uglifyjs 3.<br />\
Item14559: regression via Item13898 - broken topic selectors.<br />\
Item14560: wikiword changes don't trigger a change event on the target element. |
| 4 May 2017: | (7.23) - Item14372: JQueryPlugin ui-draggable got dropped from Config.spec. |
| 8 Feb 2017: | (7.22) - Item14312: don't destroy dialogs on close. |
@@ -164,8 +165,8 @@ required for Foswiki 1.1 or later.
externalized imagesLoaded from masonry; \
do a deep merge gathering foswikiPreferences from the header; \
added new jquery.i18n module for client-side translations |
| 03 Feb 2016: | (6.32) - Item13898: Jumpbox example in JQueryAjaxHelper is not working <br/> \
Item12560: Split !NameFilter into !AttachmentNameFilter <br/> \
| 03 Feb 2016: | (6.32) - Item13898: Jumpbox example in JQueryAjaxHelper is not working <br /> \
Item12560: Split !NameFilter into !AttachmentNameFilter <br /> \
Item13854: Set ALLOWTOPICVIEW=* in critical system topics. *Foswiki 1.1.x Requires compatibility patches, or Foswiki 1.1.10* |
| 06 Nov 2015: | (6.31) - Item13832: Filter the "effect" URLPARAM of JQueryLoader. |
| 24 Sep 2015: | (6.30) - reworked the way how preferences are propagated from backend to javascript not to use unsafe inline scripts anymore |
@@ -30,7 +30,7 @@ sub new {
my $this = bless(
$class->SUPER::new(
name => 'Foswiki',
version => '2.11',
version => '2.13',
author => 'Michael Daum',
homepage => 'http://foswiki.org/Extensions/JQueryPlugin',
javascript => ['jquery.foswiki.js'],
@@ -1,6 +1,6 @@
/**
* jQuery-foswiki: javascript base for foswiki
* Version: 2.12
* Version: 2.13
*/

/*global XMLHttpRequest:false, StrikeOne:false */
@@ -111,8 +111,7 @@ var foswiki = foswiki || {
return foswiki.preferences[key];
}

foswiki.preferences[key] = null;
return null;
return;
};

/**

0 comments on commit 4ea7f2f

Please sign in to comment.
You can’t perform that action at this time.