sync
authorAlan Knowles <alan@roojs.com>
Tue, 5 Jan 2021 08:27:54 +0000 (16:27 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 5 Jan 2021 08:27:54 +0000 (16:27 +0800)
MTrackWeb/templates/images/MTrackWeb/MTrackWeb.Layout.js
MTrackWeb/templates/images/MTrackWeb/MTrackWeb.Tab.TicketView.js
MTrackWeb/templates/images/js/mtrack.js
MTrackWeb/templates/images/js/mtrack.project.js
MTrackWeb/templates/images/js/mtrack2.js

index e2a650a..1040e9c 100644 (file)
@@ -145,7 +145,7 @@ MTrackWeb.Layout = new Roo.XComponent({
                                         xtype: 'HttpProxy',
                                         xns: Roo.data,
                                         method : 'GET',
-                                        url : baseURL + '/Roo/Projects.php'
+                                        url : baseURL + '/Roo/core_project.php'
                                     },
                                     reader : {
                                         xtype: 'JsonReader',
index 6a4a321..9ec27c3 100644 (file)
@@ -831,7 +831,7 @@ MTrackWeb.Tab.TicketView = new Roo.XComponent({
                                                                 xtype: 'HttpProxy',
                                                                 xns: Roo.data,
                                                                 method : 'GET',
-                                                                url : baseURL + '/Roo/Projects.php'
+                                                                url : baseURL + '/Roo/core_project.php'
                                                             },
                                                             reader : {
                                                                 xtype: 'JsonReader',
index 7c32f91..0ec4f41 100644 (file)
@@ -123,7 +123,7 @@ $(document).ready(function() {
     $('#banner select').change( function(e) {
         // ajax change project, and refresh body..
         jQuery.ajax({
-            url : baseURL + '/Project.html',
+            url : baseURL + '/core_project.html',
             data : { active_project_id : this.value },
             success : function() {
                 // what if it's false..currentURL = false;
index ec929ce..728552a 100644 (file)
@@ -107,7 +107,7 @@ MTrack.register('.mtrack-perm', 'click', function(event) {
     //console.log($(this).attr('name'));
     var nar = $(this).attr('name').split('_');
     jQuery.ajax({
-        url:  baseURL+'/Project',
+        url:  baseURL+'/core_project',
         type : 'POST',
         data: {
             action : 'perm',
@@ -132,7 +132,7 @@ MTrack.Project = {
         
         var nar = $(e).attr('name').split('_');
         jQuery.ajax({
-            url:  baseURL+'/Project',
+            url:  baseURL+'/core_project',
             type : 'POST',
             data: {
                 action : 'role',
index 4e82209..cfcfe61 100644 (file)
@@ -322,7 +322,7 @@ Roo.onReady(function() {
         // ajax change project, and refresh body..
         Roo.Ajax.request({
             method: 'GET',
-            url : baseURL + '/Project.html',
+            url : baseURL + '/core_project',
             params : { active_project_id : this.value },
             success : function() {
                 // what if it's false..currentURL = false;