alecpl
2009-04-15 451637a76db5440a2cc3546c76124ba08da68d91
- remove leading spaces from draglayer's rows


1 files modified
3 ■■■■■ changed files
program/js/list.js 3 ●●●●● patch | view | raw | blame | history
program/js/list.js
@@ -755,6 +755,9 @@
              (this.subject_col < 0 || (this.subject_col >= 0 && this.subject_col == c)))
            {
              subject = node.nodeType==3 ? node.data : node.innerHTML;
          // remove leading spaces
          subject = subject.replace(/^\s+/i, '');
              // truncate line to 50 characters
              names += (subject.length > 50 ? subject.substring(0, 50)+'...' : subject) + '<br />';
              break;
            }