From 13b31e983301c44e3eeb863a20b2206cbfdf2788 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Wed, 27 Nov 2013 14:52:29 -0500 Subject: [PATCH] FIX: broke all the things on Firefox --- .../discourse/components/auto_close_form_component.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/discourse/components/auto_close_form_component.js b/app/assets/javascripts/discourse/components/auto_close_form_component.js index 30f46c30f1e..d8b184dc491 100644 --- a/app/assets/javascripts/discourse/components/auto_close_form_component.js +++ b/app/assets/javascripts/discourse/components/auto_close_form_component.js @@ -7,9 +7,9 @@ Discourse.AutoCloseFormComponent = Ember.Component.extend({ }.property('labelKey'), autoCloseChanged: function() { - if( this.get('autoCloseTime') && this.get('autoCloseTime').length > 0 ) { - this.set('autoCloseTime', this.get('autoCloseTime').replace(/[^\d:-\s]/g, '') ); - } + // if( this.get('autoCloseTime') && this.get('autoCloseTime').length > 0 ) { + // this.set('autoCloseTime', this.get('autoCloseTime').replace(/[^\d-\s\:]/g, '') ); + // } this.set('autoCloseValid', this.isAutoCloseValid()); }.observes('autoCloseTime'),