"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "phprojekt/application/Default/Views/dojo/scripts/system/phpr.js" between
PHProjekt-6.2.0.tar.gz and PHProjekt-6.2.1.tar.gz

About: PHProjekt is an application suite that supports communication and management of teams and companies. It includes a group calendar, project management, a request tracker and 12 other modules.

phpr.js  (PHProjekt-6.2.0):phpr.js  (PHProjekt-6.2.1)
skipping to change at line 354 skipping to change at line 354
// Get the message error // Get the message error
if ((error.number && (error.number & 0xFFFF == 1002 || error.number & 0x FFFF == 1006)) || // IE if ((error.number && (error.number & 0xFFFF == 1002 || error.number & 0x FFFF == 1006)) || // IE
(error.name && error.name == "SyntaxError")) { // FF (error.name && error.name == "SyntaxError")) { // FF
// PHP Error // PHP Error
phpr.handleError(scope.url, 'php'); phpr.handleError(scope.url, 'php');
} else if (error.status === 0) { } else if (error.status === 0) {
// Lost connection to server // Lost connection to server
phpr.handleError(null, 'connection'); phpr.handleError(null, 'connection');
} else { } else {
// Js error var message = null;
if (phpr.config.showInternalJsErrors) { if (error.message) {
var message = null; message = error.message;
if (error.message) { } else if (error.description) {
message = error.message; message = error.description;
} else if (error.description) {
message = error.description;
}
phpr.handleError(scope.url, 'js', message);
} }
phpr.handleError(scope.url, 'php', message);
} }
scope.processData(); scope.processData();
}, },
saveData: function(params, data) { saveData: function(params, data) {
// Summary: // Summary:
// Store the data in the cache // Store the data in the cache
// Description: // Description:
// Store the data in the cache // Store the data in the cache
skipping to change at line 1121 skipping to change at line 1118
confirmDialog.show(); confirmDialog.show();
// avoid cyclic refs // avoid cyclic refs
content = null; content = null;
question = null; question = null;
buttonContent = null; buttonContent = null;
buttonOK = null; buttonOK = null;
buttonCancel = null; buttonCancel = null;
return confirmDialog; return confirmDialog;
}; };
phpr.getAbsoluteUrl = function(suffix) {
if (location.href.indexOf('index.php') === -1) {
return location.href.substring(0, location.href.lastIndex.Of('/') + 1) +
(suffix || '');
} else {
return location.href.substring(0, location.href.indexOf('index.php')) +
(suffix || '');
}
};
dojo.provide("phpr.Default.System.TabController"); dojo.provide("phpr.Default.System.TabController");
dojo.declare("phpr.Default.System.TabController", [dijit.layout.TabController], { dojo.declare("phpr.Default.System.TabController", [dijit.layout.TabController], {
"class": "dijitTabContainerTop-tabs", "class": "dijitTabContainerTop-tabs",
tabStripClass: null, tabStripClass: null,
doLayout: true, doLayout: true,
garbageCollector: null, garbageCollector: null,
templateString: "<div role='tablist' dojoAttachEvent='onkeypress:onkeypress' ></div>", templateString: "<div role='tablist' dojoAttachEvent='onkeypress:onkeypress' ></div>",
constructor: function() { constructor: function() {
this.garbageCollector = new phpr.Default.System.GarbageCollector(); this.garbageCollector = new phpr.Default.System.GarbageCollector();
}, },
 End of changes. 3 change blocks. 
9 lines changed or deleted 16 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)