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 35f03f7..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-(function($){
-       
-       function SummaryPerspective(options) {
-               var old_callback = options.callback;        
-        options.callback = function(){
-                       old_callback.call(this);
-               };              
-               
-               $.wiki.Perspective.call(this, options);
-    };
-    
-    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);
-