mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
FEATURE: add branch option to remote theme import
* FEATURE: add branch option to remote theme import * FIX: Add missing variable in params * FIX: Add missing param for import_theme method * SPEC: Add test methods for branch support in git import * FIX: Add missing space to scss style * Do not assume default branch as master * Change branch field placeholder * FIX: add missing div start tag
This commit is contained in:
@ -44,7 +44,8 @@ export default Ember.Controller.extend(ModalFunctionality, {
|
||||
options.data.append("theme", $("#file-input")[0].files[0]);
|
||||
} else {
|
||||
options.data = {
|
||||
remote: this.get("uploadUrl")
|
||||
remote: this.get("uploadUrl"),
|
||||
branch: this.get("branch")
|
||||
};
|
||||
|
||||
if (this.get("privateChecked")) {
|
||||
|
Reference in New Issue
Block a user