From d2416207efd07194276a74e000d95accd3eaa538 Mon Sep 17 00:00:00 2001 From: alograg Date: Mon, 27 Apr 2015 14:40:22 -0500 Subject: [PATCH] Apply theme to custom directives This option add the class to new templates of xEditon --- dist/js/xeditable.js | 1 + 1 file changed, 1 insertion(+) diff --git a/dist/js/xeditable.js b/dist/js/xeditable.js index cde698be..01f9a284 100644 --- a/dist/js/xeditable.js +++ b/dist/js/xeditable.js @@ -2200,6 +2200,7 @@ angular.module('xeditable').factory('editableThemes', function() { case 'editableTime': case 'editableMonth': case 'editableWeek': + default: this.inputEl.addClass('form-control'); if(this.theme.inputClass) { // don`t apply `input-sm` and `input-lg` to select multiple