diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-06-08 17:37:43 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-06-08 17:37:44 +0200 |
commit | 2cf160d497e501bf254bd8be054c0f5880ab90ca (patch) | |
tree | 03a720b6142cc03fe7ef258fa8d17da92b30a462 /module/web/static/js/utils/dialogs.js | |
parent | Merge pull request #151 from vuolter/invertedconf (diff) | |
download | pyload-2cf160d497e501bf254bd8be054c0f5880ab90ca.tar.xz |
restructured webui to single-page-app, removed jinja
Diffstat (limited to 'module/web/static/js/utils/dialogs.js')
-rw-r--r-- | module/web/static/js/utils/dialogs.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/module/web/static/js/utils/dialogs.js b/module/web/static/js/utils/dialogs.js deleted file mode 100644 index 13478ff88..000000000 --- a/module/web/static/js/utils/dialogs.js +++ /dev/null @@ -1,15 +0,0 @@ -// Loads all helper and set own handlebars rules -define(['jquery', 'underscore', 'views/abstract/modalView'], function($, _, modal) { - - // Shows the confirm dialog for given context - // on success executes func with context - _.confirm = function(template, func, context) { - template = "text!tpl/" + template; - _.requireOnce([template], function(html) { - var template = _.compile(html); - var dialog = new modal(template, _.bind(func, context)); - dialog.show(); - }); - - }; -});
\ No newline at end of file |