Skip to content
Browse files

tidy the roland plugin up after my little change

  • Loading branch information...
1 parent 52262a7 commit 6495029a13c3a2a30122a9e69964433f4a8a7c35 @iainurquhart committed Dec 12, 2011
Showing with 4 additions and 5 deletions.
  1. +4 −5 themes/third_party/roland/js/jquery.roland.js
View
9 themes/third_party/roland/js/jquery.roland.js
@@ -105,13 +105,8 @@
};
- /* ------------------------------------------
- * PRIVATE METHODS
- * -----------------------------------------*/
-
// Updates the indexes of any form elements.
$.fn.roland.updateIndexes = function($container, opts){
- // function updateIndexes($container, opts) {
$container.find('.' + opts.rowClass).each(function(rowCount) {
regex = /^([a-z_]+)\[(?:[0-9]+)\](.*)$/;
@@ -135,6 +130,10 @@
});
};
+ /* ------------------------------------------
+ * PRIVATE METHODS
+ * -----------------------------------------*/
+
// Updates the navigation buttons.
function updateNav($container, opts) {
var $remove = $container.find('.' + opts.removeRowClass);

0 comments on commit 6495029

Please sign in to comment.
Something went wrong with that request. Please try again.