]> jfr.im git - z_archive/KronOS.git/commitdiff
Removed modal helper testrows
authorConny Sjöblom <redacted>
Wed, 24 Oct 2012 05:39:57 +0000 (08:39 +0300)
committerConny Sjöblom <redacted>
Wed, 24 Oct 2012 05:39:57 +0000 (08:39 +0300)
public/js/application.js

index 5dfefe9a8b965df42f8caba79ddf5d6cda31901a..d84ea1f5c126a5201d44a191caba6e5e6dfea5aa 100644 (file)
@@ -140,39 +140,6 @@ var wos
        };\r
 })( jQuery );\r
 \r
-(function( $ ) {\r
-        $.fn.modalHelper = function( initvar ) {\r
-\r
-       id = initvar;\r
-\r
-       this.init = function() {\r
-               this.append('<div id="'+this.id+'" class="modal hide fade"></div>');\r
-\r
-               this.id = '#'+this.id;\r
-\r
-               $(this.id).append('<div class="modal-header"></div>');\r
-               $(this.id+'>.modal-header').append('<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h3>unspecified</h3>');\r
-               $(this.id).append('<div class="modal-body"></div>');\r
-               $(this.id).append('<div class="modal-footer"></div>');\r
-       }\r
-\r
-//     this.title = function() {\r
-//             return\r
-//     }\r
-\r
-//     this.content = function() {\r
-//             return\r
-//     }\r
-\r
-       this.show = function() {\r
-               $(this.id).modal('show');\r
-       }\r
-\r
-       return this;\r
-       };\r
-})( jQuery );\r
-\r
-\r
 $(function () {\r
        wos = $('document.body').pageConstruct();\r
 \r