~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/media/browser/specialhome.js

  • Committer: chadnickbok
  • Date: 2009-01-22 01:21:48 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1172
Fixed an issue with my previous patch to this file. Now, if
publicmode is not set, users will not be shown tracebacks.

Previously, if publicmode was undefined, users would be shown
tracebacks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
170
170
                li.appendChild(span);
171
171
 
172
172
                var button = document.createElement("input");
173
 
                $(button).click(function(event)
 
173
                button.addEventListener("click", function(event)
174
174
                {
175
175
                    action_rename(path_join(path, name));
176
 
                });
 
176
                },
 
177
                false);
177
178
                button.setAttribute("type", "button");
178
179
                button.setAttribute("value", "Rename");
179
180
                span.appendChild(button);
189
190
            li.appendChild(span);
190
191
 
191
192
            var button = document.createElement("input");
192
 
            $(button).click(function(event)
 
193
            button.addEventListener("click", function(event)
193
194
            {
194
195
                li.setAttribute("class", "listing-loading");
195
196
 
205
206
                {
206
207
                    li.setAttribute("class", "listing-dir");
207
208
                }
208
 
            });
 
209
            },
 
210
            false);
209
211
            button.setAttribute("type", "button");
210
212
            button.setAttribute("value", "Checkout");
211
213
            span.appendChild(button);
253
255
 */
254
256
function obj_length(obj)
255
257
{
256
 
    len = 0;
 
258
    length = 0;
257
259
    for (prop in obj)
258
 
        len++;
259
 
    return len;
 
260
        length++;
 
261
    return length;
260
262
}