From 839cd9ed4800e9b7335242b8ec7d8e76d8ceaff4 Mon Sep 17 00:00:00 2001 From: Dmitry Khomutov Date: Sat, 14 Jan 2017 01:01:41 +0700 Subject: [PATCH] Improved confirm dialog style --- public/assets/js/app.js | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/public/assets/js/app.js b/public/assets/js/app.js index d28ac628..1e87c5a8 100644 --- a/public/assets/js/app.js +++ b/public/assets/js/app.js @@ -239,22 +239,22 @@ var PHPCensorConfirmDialog = Class.extend({ */ $('body').append( '' + + '' + + '' ); } @@ -262,8 +262,8 @@ var PHPCensorConfirmDialog = Class.extend({ Define dialog controls */ this.$dialog = $('#confirm-dialog'); - this.$cancelBtn = this.$dialog.find('div.modal-footer button.btn-default'); - this.$confirmBtn = this.$dialog.find('div.modal-footer button.btn-primary'); + this.$cancelBtn = this.$dialog.find('#confirm-cancel'); + this.$confirmBtn = this.$dialog.find('#confirm-ok'); this.$title = this.$dialog.find('h4.modal-title'); this.$body = this.$dialog.find('div.modal-body'); @@ -472,4 +472,4 @@ var Lang = { } }; -moment.locale(LANGUAGE); \ No newline at end of file +moment.locale(LANGUAGE);