$.album_edit = function () {
  var $holder = $("#images-list-wrapper");
  var $images_upload_form = $("#images-upload-form");

  var $obj = {
    init: function () {
      $("#navigation a", $holder).live('click', $obj.load_page)
      $('#images-list', $holder).use_select_all();
      $images_upload_form.fileupload({
        url: $images_upload_form.attr('action')
      });
    },
    load_page: function (e) {
      e.preventDefault();
      $obj.load($(this).attr('href'));
    },
    load: function (url) {
      $.ajax({
        url: url,
        success: function (r) {
          $holder.html($(r).html());
          $('#images-list', $holder).use_select_all();
        }
      });
    }

  };

  $obj.init();
};


@@ -163,72 +163,8 @@
 ) %7B%0A
-      $(%22#navigation a%22, $holder).live('click', $obj.load_page)%0A
     
@@ -311,328 +311,14 @@
 %7D);%0A
-    %7D,%0A    load_page: function (e) %7B%0A      e.preventDefault();%0A      $obj.load($(this).attr('href'));%0A    %7D,%0A    load: function (url) %7B%0A      $.ajax(%7B%0A        url: url,%0A        success: function (r) %7B%0A          $holder.html($(r).html());%0A          $('#images-list', $holder).use_select_all();%0A        %7D%0A      %7D);%0A
     %7D%0A
-%0A
   %7D;
@@ -334,12 +334,48 @@
 init();%0A%7D;%0A%0A
+$(function () %7B%0A  $.album_edit()%0A%7D);

Fix album edit