Skip to content

Commit

Permalink
MDL-42030 EditPDF: when selecting stamp image the stamp tool is not s…
Browse files Browse the repository at this point in the history
…elected
  • Loading branch information
mouneyrac committed Oct 7, 2013
1 parent 56cc9b3 commit 673c4ff
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3310,7 +3310,7 @@ EDITOR.prototype = {
}
filename = stamp.substr(stamp.lastIndexOf('/'));
this.currentedit.stamp = filename;
this.refresh_button_state();
this.handle_tool_button(e, "stamp");
},
context: this
});
Expand All @@ -3333,7 +3333,7 @@ EDITOR.prototype = {
currenttoolnode.removeClass('assignfeedback_editpdf_selectedbutton');
currenttoolnode.setAttribute('aria-pressed', 'false');
this.currentedit.tool = tool;
if (tool !== "comment" && tool !== "select") {
if (tool !== "comment" && tool !== "select" && tool !== "stamp") {
this.lastannotationtool = tool;
}
this.refresh_button_state();
Expand Down
Loading

0 comments on commit 673c4ff

Please sign in to comment.