0008-Bug-770-Fixed-non-relative-paths-to-make-ozones-fit-.patch

fix - Hector Sanjuan, 08/31/2011 11:33 PM

Download (2.03 KB)

View differences:

src/ozones/Server/public/js/ozones.js
201 201
            var request  = oZones.Helper.request(resource,"login");
202 202

  
203 203
            $.ajax({
204
                url: "/login",
204
                url: "login",
205 205
                type: "POST",
206 206
                data: {remember: remember},
207 207
                beforeSend : function(req) {
......
235 235
            var request =oZones.Helper.request(resource,"logout");
236 236

  
237 237
            $.ajax({
238
                url: "/logout",
238
                url: "logout",
239 239
                type: "POST",
240 240
                success: function(response)
241 241
                {
......
267 267
            var request = oZones.Helper.request(resource,"list");
268 268

  
269 269
            $.ajax({
270
                url: "/config",
270
                url: "config",
271 271
                type: "GET",
272 272
                dataType: "json",
273 273
                success: function(response)
src/ozones/Server/templates/index.html
47 47

  
48 48
<div id="header" class="ui-layout-north">
49 49
    <div id="logo">
50
        <img src="/images/opennebula-zones-small.png"/>
50
        <img src="images/opennebula-zones-small.png"/>
51 51
    </div>
52 52
    <div id="login-info">
53 53
        Welcome <span id="user"></span>&nbsp;|&nbsp;<a href="#" id="logout">Sign Out</a>
54
-