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

« back to all changes in this revision

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

  • Committer: Matt Giuca
  • Date: 2009-01-19 17:09:16 UTC
  • mto: This revision was merged to the branch mainline in revision 1090.
  • Revision ID: matt.giuca@gmail.com-20090119170916-dncv40t5u7zw77pd
ivle.worksheet, ivle.database: Added/updated __all__.

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
 
198
199
                if (create_if_needed(repopath))
199
200
                {
200
201
                    // Try a checkout
201
 
                    do_act("svncheckout", {"path": [repopath, localpath]});
 
202
                    do_action("svncheckout", current_path, {"path":
 
203
                        [repopath, localpath]});
202
204
                }
203
205
                else
204
206
                {
205
207
                    li.setAttribute("class", "listing-dir");
206
208
                }
207
 
            });
 
209
            },
 
210
            false);
208
211
            button.setAttribute("type", "button");
209
212
            button.setAttribute("value", "Checkout");
210
213
            span.appendChild(button);
252
255
 */
253
256
function obj_length(obj)
254
257
{
255
 
    len = 0;
 
258
    length = 0;
256
259
    for (prop in obj)
257
 
        len++;
258
 
    return len;
 
260
        length++;
 
261
    return length;
259
262
}