Permalink
Browse files

Fix for ID with metha chars in formatter actions

  • Loading branch information...
tonytomov committed Jun 16, 2011
1 parent f609fd1 commit df058346142799a0bf6b0201847151a4e91e4137
Showing with 4 additions and 2 deletions.
  1. +4 −2 js/jquery.fmatter.js
View
@@ -403,8 +403,10 @@
url: null,
delOptions: {},
editOptions : {}
- },
- cm = $('#'+gid)[0].p.colModel[pos];
+ };
+ rid = $.jgrid.jqID( rid );
+ gid = $.jgrid.jqID( gid );
+ var cm = $('#'+gid)[0].p.colModel[pos];
if(!$.fmatter.isUndefined(cm.formatoptions)) {
op = $.extend(op,cm.formatoptions);
}

0 comments on commit df05834

Please sign in to comment.