Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

removeContentRows method of TableView would not work due to the hard code id #33

Merged
merged 1 commit into from

2 participants

@jianliao

No description provided.

@dominiklaubach dominiklaubach merged commit 74f760f into from
@dominiklaubach

thx a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 7, 2012
  1. @jianliao

    Fixed the hard code id

    jianliao authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  modules/ui/table.js
View
2  modules/ui/table.js
@@ -235,7 +235,7 @@ M.TableView = M.View.extend(
* html in the DOM. This method is based on jQuery's remove().
*/
removeContentRows: function() {
- $('#' + 'm_3' + ' tr td').parent().remove();
+ $('#' + this.id + ' tr td').parent().remove();
}
});
Something went wrong with that request. Please try again.