Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clear duplicate content only when you actually posted the duplicate

  • Loading branch information...
commit e17852506929985facfdc1bbdbb64be5031dcc15 1 parent f72abd9
@gcamp authored
View
2  OpenRadarHelper.safariextension/Main.js
@@ -22,8 +22,6 @@ function fillDuplicateContent() {
safari.self.tab.dispatchMessage("getDuplicateValue", "classList");
safari.self.tab.dispatchMessage("getDuplicateValue", "reproducibleNewProb");
safari.self.tab.dispatchMessage("getDuplicateValue", "probDescID");
-
- clearDuplicateContent();
}
function getMessage(msgEvent) { //The GlobalPage.html returned
View
2  OpenRadarHelper.safariextension/SendToOpenRadar.js
@@ -25,6 +25,8 @@ function clearRadarContent() {
function saveRadarNumberAndSubmit() {
safari.self.tab.dispatchMessage("number", document.getElementsByTagName("font")[5].textContent);
+ clearDuplicateContent();
+
window.open('http://openradar.appspot.com/myradars/add', "new tab");
}
Please sign in to comment.
Something went wrong with that request. Please try again.