From 29b9bec347ef94df002cab01f1d30ebc54904feb Mon Sep 17 00:00:00 2001
From: PavelBegunkov <asml.Silence@gmail.com>
Date: Sun, 7 Sep 2014 23:50:35 +0400
Subject: [PATCH] ...

---
 ~dev_rating/media/js/errDialog.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/~dev_rating/media/js/errDialog.js b/~dev_rating/media/js/errDialog.js
index acee99d60..386d423d2 100644
--- a/~dev_rating/media/js/errDialog.js
+++ b/~dev_rating/media/js/errDialog.js
@@ -18,7 +18,7 @@ $(document).ready(function() {
 
 		$.ajax({
 				type: "POST",
-				url: "/~dev_rating/~dev_rating/handler/baseDialog/returnDialogHtml",    //////////// ------------------------- Костыль
+				url: URLdir  + "/handler/baseDialog/returnDialogHtml",   
 				data: {},
 				success: function(html){ 
 					data = html;
@@ -29,7 +29,7 @@ $(document).ready(function() {
 
 						if(!checkMessages)
 						{
-							$.getJSON("/~dev_rating/~dev_rating/handler/errMessages/getRequests", {}, function(data){			//----------------------- Костыль
+							$.getJSON(URLdir + "/handler/errMessages/getRequests", {}, function(data){	
 								
 								// var date = data['Date'];
 								// var text = data['Description'];
@@ -70,7 +70,7 @@ $(document).ready(function() {
 
 								$.ajax({
 										type: "POST",
-										url: "/~dev_rating/~dev_rating/handler/errMessages/createRequest",             //----------------------- Костыль
+										url: URLdir + "/handler/errMessages/createRequest",
 										data: {title: mesTitle, text: mesText},
 										success: function(html){ 
 											$('#errDialog').dialog("close");
-- 
GitLab