X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5913c54d19b8f6775633176032161d49f9b2f1aa..55ec37324e9008cdb641ee55ed367a941f0fed07:/src/redakcja/static/js/wiki_img/wikiapi.js?ds=sidebyside

diff --git a/src/redakcja/static/js/wiki_img/wikiapi.js b/src/redakcja/static/js/wiki_img/wikiapi.js
index 377e4f94..21c17fad 100644
--- a/src/redakcja/static/js/wiki_img/wikiapi.js
+++ b/src/redakcja/static/js/wiki_img/wikiapi.js
@@ -391,28 +391,3 @@
 
 	$.wikiapi.WikiDocument = WikiDocument;
 })(jQuery);
-
-
-
-// Wykonuje block z załadowanymi kanonicznymi motywami
-function withThemes(code_block, onError)
-{
-    if (typeof withThemes.canon == 'undefined') {
-        $.ajax({
-            url: '/editor/themes',
-            dataType: 'text',
-            success: function(data) {
-                withThemes.canon = data.split('\n');
-                code_block(withThemes.canon);
-            },
-            error: function() {
-                withThemes.canon = null;
-                code_block(withThemes.canon);
-            }
-        })
-    }
-    else {
-        code_block(withThemes.canon);
-    }
-}
-