Ignore:
Timestamp:
Aug 17, 2010 12:39:41 PM (14 years ago)
Author:
fenix
Message:
  • added tests;
  • fixed style bug (None class was added when no portlet style is selected);
  • removed trailing characters;
  • removed unnecessary pice of code;
  • some javascript optimizations;
File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.portlet.collection/trunk/quintagroup/portlet/collection/browser/resources/batch.js

    r2749 r2755  
    1818 
    1919    var bind_prev_handler = function(link, index){ 
    20       if (index == 0) { 
    21         jq(link).hide(); 
    22       } 
     20      if (index == 0) jq(link).hide(); 
    2321      jq(link).unbind(); 
    2422      jq(link).click(function(e) { 
     
    3331    }; 
    3432    var bind_next_handler = function(link, index){ 
    35       if (index == nav_links.size()-1) { 
    36         jq(link).hide(); 
    37       } 
     33      if (index == nav_links.size()-1) jq(link).hide(); 
    3834      jq(link).unbind(); 
    3935      jq(link).click(function(e) { 
Note: See TracChangeset for help on using the changeset viewer.