ソースを参照

add namespace to eventruler

Robin Herbots 13 年 前
コミット
c3d2092a8a
1 ファイル変更2 行追加2 行削除
  1. 2 2
      js/jquery.inputmask.js

+ 2 - 2
js/jquery.inputmask.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2012 Robin Herbots
 * Copyright (c) 2010 - 2012 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 1.0.12
+* Version: 1.0.13
 */
 */
 
 
 (function($) {
 (function($) {
@@ -652,7 +652,7 @@
                  	var events = $._data(npt).events;
                  	var events = $._data(npt).events;
 
 
 					$.each(events, function(eventType, eventHandlers){
 					$.each(events, function(eventType, eventHandlers){
-                         $(npt).bind(eventType, function(event) { 
+                         $(npt).bind(eventType + ".inputmask", function(event) { 
                          							if (this.readOnly || this.disabled) {
                          							if (this.readOnly || this.disabled) {
                          							  event.stopPropagation(); 
                          							  event.stopPropagation(); 
                          							  event.stopImmediatePropagation(); 
                          							  event.stopImmediatePropagation();