-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* save the variation locally * generate a zip with the variation * shanged wording, added script to toggle between forms * toggle both when we don't want any form * typo * save theme with chosen name, alert when none was entered * clear user customizations * fix copy + paste mistake * fix success message * wording and paths * duplicate variations with the same name instead of replacing them
- Loading branch information
1 parent
0b589f4
commit f6bc1ff
Showing
2 changed files
with
104 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
function toggleForm( formID, hide ){ | ||
if( formID == 'new_theme_metadata_form' && !hide ) { | ||
toggleForm( 'new_variation_metadata_form', true ); | ||
} | ||
if( formID == 'new_variation_metadata_form' && !hide ) { | ||
toggleForm( 'new_theme_metadata_form', true ); | ||
} | ||
document.getElementById( formID ).toggleAttribute('hidden', hide); | ||
} |