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

« back to all changes in this revision

Viewing changes to ivle/webapp/filesystem/browser/media/specialhome.js

  • Committer: William Grant
  • Date: 2009-03-25 22:13:16 UTC
  • mfrom: (1171 trunk)
  • mto: (1165.3.1 submissions)
  • mto: This revision was merged to the branch mainline in revision 1174.
  • Revision ID: grantw@unimelb.edu.au-20090325221316-wj6td6w4hbwv96od
MergeĀ fromĀ trunk.

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