Explorar el Código

add type button

itizawa hace 5 años
padre
commit
0cffd059f2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/client/js/components/Page/PageManagement.jsx

+ 1 - 1
src/client/js/components/Page/PageManagement.jsx

@@ -123,7 +123,7 @@ const PageManagement = (props) => {
       </a>
       <div className="dropdown-menu dropdown-menu-right">
         {!isTopPagePath && renderDropdownItemForNotTopPage()}
-        <a className="dropdown-item" onClick={openPageTemplateModalHandler}>
+        <a className="dropdown-item" type="button" onClick={openPageTemplateModalHandler}>
           <i className="icon-fw icon-magic-wand"></i> { t('template.option_label.create/edit') }
         </a>
         {(!isTopPagePath && isDeletable) && renderDropdownItemForDeletablePage()}