Roo/bootstrap/DateField.js
authorEdward <edward@roojs.com>
Fri, 21 Sep 2018 03:24:57 +0000 (11:24 +0800)
committerEdward <edward@roojs.com>
Fri, 21 Sep 2018 03:24:57 +0000 (11:24 +0800)
Roo/bootstrap/DateField.js

index 1361229..ddd79d1 100644 (file)
@@ -524,16 +524,16 @@ Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input,  {
         this.hide();
     },
     
-    show : function()
+    showPopup : function()
     {
         this.picker().show();
         this.update();
         this.place();
         
-        this.fireEvent('show', this, this.date);
+        this.fireEvent('showpopup', this, this.date);
     },
     
-    hide : function()
+    hidePopup : function()
     {
         if(this.isInline) {
             return;
@@ -542,7 +542,7 @@ Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input,  {
         this.viewMode = this.startViewMode;
         this.showMode();
         
-        this.fireEvent('hide', this, this.date);
+        this.fireEvent('hidepopup', this, this.date);
         
     },