~yeliabmas/sloecode/wiki-merge-proposal

« back to all changes in this revision

Viewing changes to sloecode/templates/wiki/edit.html

  • Committer: Sam Bailey
  • Date: 2012-09-12 22:00:56 UTC
  • Revision ID: yeliabmas@gmail.com-20120912220056-07j5niilensbactw
Link-adding dialog closes when done on edit page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
                var rightText = textArea.val().substring(start);
87
87
                var linkString = "[" + $("#link_title").val() + "](" + $("#link_href").val() + ")";
88
88
                textArea.val(leftText + linkString + rightText);
89
 
                (this).dialog("close");
 
89
                $(this).dialog("close");
90
90
            }
91
91
        }
92
92
    });