"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "phprojekt/application/Project/Views/dojo/scripts/Form.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.

Form.js  (PHProjekt-6.2.0):Form.js  (PHProjekt-6.2.1)
skipping to change at line 246 skipping to change at line 246
// Add a tab with the webdav url of the project // Add a tab with the webdav url of the project
var url = 'index.php/Project/index/jsonTree'; var url = 'index.php/Project/index/jsonTree';
var that = this; var that = this;
phpr.DataStore.addStore({ url: url }); phpr.DataStore.addStore({ url: url });
return phpr.DataStore.requestData({ url: url}).then( return phpr.DataStore.requestData({ url: url}).then(
function(data) { function(data) {
data = data.data; data = data.data;
var path; var path;
var state = phpr.pageManager.getState(); var state = phpr.pageManager.getState();
var projectId = parseInt(state.projectId) || null; var projectId = parseInt(state.projectId, 10) || null;
if (projectId && dojo.isArray(data.items)) { if (projectId && dojo.isArray(data.items)) {
var error = false, var error = false,
path, path,
url = "", url = "",
errorMessage = ""; errorMessage = "";
try { try {
path = that._buildPathFromTreeData(data.items); path = that._buildPathFromTreeData(data.items);
url = "index.php/WebDAV/index/index/" + path; url = phpr.getAbsoluteUrl('index.php/WebDAV/index/index/ ' + path);
} catch (e) { } catch (e) {
error = true; error = true;
errorMessage = e.message; errorMessage = e.message;
} }
var widget = new phpr.Default.System.TemplateWrapper({ var widget = new phpr.Default.System.TemplateWrapper({
templateName: "phpr.Project.template.webdavTab.html", templateName: "phpr.Project.template.webdavTab.html",
templateData: { templateData: {
label: phpr.nls.get("WebDAV url"), label: phpr.nls.get("WebDAV url"),
url: url, url: url,
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

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