~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/javascript/inlineedit/editor.js

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-22 04:23:31 UTC
  • mfrom: (14564.4.2 megalint-7)
  • Revision ID: launchpad@pqm.canonical.com-20111222042331-ldeo5z018n8bq6x1
[r=jtv][no-qa] Lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
716
716
 
717
717
        // hook up the resizing textarea to handle those changes
718
718
        var cfg = this.cfg;
719
 
        var input = this.get(INPUT_EL)
 
719
        var input = this.get(INPUT_EL);
720
720
        var that = this;
721
721
 
722
722
        if (!this.get(MULTILINE)) {
744
744
        // we also need to make sure we update the ResizingTextarea as we
745
745
        // show/hide so bind to the show event (changes to the visible ATTR)
746
746
        this.after('visibleChange', function (e) {
747
 
            var input_node = e.target.get(INPUT_EL)
 
747
            var input_node = e.target.get(INPUT_EL);
748
748
 
749
749
            if (that.get(MULTILINE)) {
750
750
                // The multi-line editor has to dynamically resize,