File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ class Module extends CoreModule
1818 protected $ author = "Ben Keen " ;
1919 protected $ authorEmail = "ben.keen@gmail.com " ;
2020 protected $ authorLink = "https://formtools.org " ;
21- protected $ version = "2.0.6 " ;
22- protected $ date = "2018-04-25 " ;
21+ protected $ version = "2.0.7 " ;
22+ protected $ date = "2018-05-13 " ;
2323 protected $ originLanguage = "en_us " ;
2424
2525 // important! This needs to be updated any time the default template set filename changes
Original file line number Diff line number Diff line change @@ -644,7 +644,7 @@ builder_js.publish_form_check = function () {
644644 errors . push ( g . messages [ "validation_no_folder_url" ] ) ;
645645 }
646646 var folder_path = $ . trim ( $ ( "#publish_folder_path" ) . val ( ) ) ;
647- if ( ! filename ) {
647+ if ( ! folder_path ) {
648648 errors . push ( g . messages [ "validation_no_folder_path" ] ) ;
649649 }
650650
@@ -678,6 +678,7 @@ builder_js.publish_form = function () {
678678 publish_folder_path : $ ( "#publish_folder_path" ) . val ( )
679679 } ,
680680 dataType : "json" ,
681+
681682 success : function ( json ) {
682683 if ( json . success == 1 ) {
683684 $ ( "#publish_url" ) . find ( "a" ) . attr ( "href" , json . url ) . html ( json . url ) ;
You can’t perform that action at this time.
0 commit comments