From 12b8b5f19c1c0fe1e0b848e6ed21936e6a3044ba Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Fri, 30 Jan 2015 01:03:34 +0100 Subject: [PATCH] Removed legacy modal-system build fn --- src/scripts/build.coffee | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/src/scripts/build.coffee b/src/scripts/build.coffee index f1d96b9..fa3b3df 100644 --- a/src/scripts/build.coffee +++ b/src/scripts/build.coffee @@ -149,35 +149,6 @@ build.no_content = (typ) -> return html -build.modal = (title, text, button, marginTop, closeButton) -> - - if marginTop? then custom_style = "style='margin-top: #{ marginTop }px;'" - else custom_style = '' - - html = """ -
-
-

#{ title }

- """ - - if closeButton isnt false then html += "" - - html += "

#{ text }

" - - $.each button, (index) -> - - if this[0] isnt '' - - if index is 0 then html += "#{ this[0] }" - else html += "#{ this[0] }" - - html += """ -
-
- """ - - return html - build.uploadModal = (title, files) -> html = """