Merge from master + added more jshint checks (undef and latedef). Very helpful to catch post merge issues.

This commit is contained in:
jdescottes
2013-08-10 14:28:10 +02:00
42 changed files with 2240 additions and 2214 deletions

View File

@@ -119,7 +119,7 @@
for (i=0;i<params.length;i++) {
val = params[i].split("=");
if (val[0] == paramName) {
return unescape(val[1]);
return window.unescape(val[1]);
}
}
return "";
@@ -175,7 +175,7 @@
if (this.status == 200) {
if (pskl.app.isStaticVersion) {
var baseUrl = window.location.href.replace(window.location.search, "");
window.location.href = baseUrl + "?frameId=" + this.responseText;
window.location.href = baseUrl + "?frameId=" + this.responseText;
} else {
$.publish(Events.SHOW_NOTIFICATION, [{"content": "Successfully saved !"}]);
}