Priviliged users can now add tags. Also, some minor cleanups in JS.
[redakcja.git] / platforma / static / js / wiki / summary_view.js
diff --git a/platforma/static/js/wiki/summary_view.js b/platforma/static/js/wiki/summary_view.js
deleted file mode 100644 (file)
index bed8155..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-(function($){
-       
-       function SummaryPerspective(doc, callback) {
-               this.perspective_id = 'SummaryPerspective';
-               this.doc = doc;
-               
-               callback.call(this);
-    };
-    
-    SummaryPerspective.prototype = new $.wiki.Perspective();
-    
-    SummaryPerspective.prototype.freezeState = function(){
-        // must 
-    };
-       
-       SummaryPerspective.prototype.onEnter = function(success, failure){
-               $.wiki.Perspective.prototype.onEnter.call(this);
-               
-               console.log("Entered summery view");
-       };
-       
-       $.wiki.SummaryPerspective = SummaryPerspective;
-       
-})(jQuery);
-