Fixes: 27386

[TFS Changeset #70535]
This commit is contained in:
Shandem
2010-06-21 14:55:18 +00:00
parent 3341e67a0f
commit 945ef66da6
3 changed files with 12 additions and 10 deletions

View File

@@ -10,7 +10,7 @@ NOTES:
* Compression/Combination/Minification is not enabled unless debug="false" is specified on the 'compiliation' element in the web.config
* A new version will invalidate both client and server cache and create new persisted files
-->
<clientDependency version="33">
<clientDependency version="34">
<fileRegistration defaultProvider="LoaderControlProvider" fileDependencyExtensions=".js,.css">
<providers>

View File

@@ -10,7 +10,7 @@ NOTES:
* Compression/Combination/Minification is not enabled unless debug="false" is specified on the 'compiliation' element in the web.config
* A new version will invalidate both client and server cache and create new persisted files
-->
<clientDependency version="33">
<clientDependency version="34">
<fileRegistration defaultProvider="LoaderControlProvider" fileDependencyExtensions=".js,.css">
<providers>

View File

@@ -880,15 +880,17 @@ Umbraco.Sys.registerNamespace("Umbraco.Controls");
_getUrlParams: function(nodeSource) {
/// <summary>This converts Url query string params to json</summary>
var p = {};
var urlSplit = nodeSource.split("?");
if (urlSplit.length > 1) {
var sp = urlSplit[1].split("&");
for (var i = 0; i < sp.length; i++) {
var e = sp[i].split("=");
p[e[0]] = e[1];
if (nodeSource) {
var urlSplit = nodeSource.split("?");
if (urlSplit.length > 1) {
var sp = urlSplit[1].split("&");
for (var i = 0; i < sp.length; i++) {
var e = sp[i].split("=");
p[e[0]] = e[1];
}
p["rnd2"] = Umbraco.Utils.generateRandom();
}
p["rnd2"] = Umbraco.Utils.generateRandom();
}
}
return p;
},