back out dropbox changes
authorSeth Woodworth <seth@sethish.com>
Tue, 27 Aug 2013 13:36:26 +0000 (09:36 -0400)
committerSeth Woodworth <seth@sethish.com>
Tue, 27 Aug 2013 13:36:26 +0000 (09:36 -0400)
karmaworld/templates/partial/dropbox_support.html [deleted file]

diff --git a/karmaworld/templates/partial/dropbox_support.html b/karmaworld/templates/partial/dropbox_support.html
deleted file mode 100644 (file)
index 4f9753d..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-{% comment %}
-  
-{% endcomment %}
-<!-- TODO: add to head-->
-<script type="text/javascript" src="https://www.dropbox.com/static/api/1/dropins.js" id="dropboxjs" data-app-key="n1wj0fd5nszev45"></script>
-<!-- log what file was chosen by dropbox -->
-<script type="text/javascript">
-  var options = {
-      linkType: "direct",
-      success: function(file) {
-                console.log("Here is the file selected " + file[0].link);
-                console.log(file);
-                $('#id_drpbxURL').val(file[0].link);
-              },
-      }
-
-  $('#drpbx-btn').on('click', function(ev){
-    Dropbox.choose(options);
-  });
-</script>