diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-06-23 11:06:59 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-06-23 11:06:59 (GMT) |
commit | 64298f234d4751d094ef91833830337417404e82 (patch) | |
tree | 93a2ec8a1674353a6125787267699d326967bc4f /apps/uscxml-debugger.html | |
parent | 0e0be07906a720ae54e4572d6ac0cb657424550d (diff) | |
download | uscxml-64298f234d4751d094ef91833830337417404e82.zip uscxml-64298f234d4751d094ef91833830337417404e82.tar.gz uscxml-64298f234d4751d094ef91833830337417404e82.tar.bz2 |
Smaller bug-fixes and refactorings
Diffstat (limited to 'apps/uscxml-debugger.html')
-rw-r--r-- | apps/uscxml-debugger.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/uscxml-debugger.html b/apps/uscxml-debugger.html index 3aece02..fa49554 100644 --- a/apps/uscxml-debugger.html +++ b/apps/uscxml-debugger.html @@ -1099,11 +1099,14 @@ // we found a document, enable "recent" button $(this.recentDocumentsNode).prev().attr('disabled', false); + console.log(recentURL); + var recentDocumentItem = $('\ <li><a href="#"><!-- i class="glyphicon glyphicon-floppy-open" style="margin-right: 0.7em" / -->' + key + '<span class="recent-document-features"></span></a></li>\ '); var recentDocumentFeatures = $(recentDocumentItem).find("span.recent-document-features"); - $(recentDocumentItem).children("a").click(function() { + $(recentDocumentItem).children("a").unbind('click').click(function() { + console.log("recentURL: " + recentURL); $(debug.loadFromURLModalNode).find("input#loadFromURLModalInput").val(recentURL); $(debug.recentDocumentsNode).dropdown("toggle"); return false; |