Url params 🎉 (#276)

* basic implementation

Signed-off-by: tech4GT <varun.gupta1798@gmail.com>

* fix bug

Signed-off-by: tech4GT <varun.gupta1798@gmail.com>

* fix everything

Signed-off-by: tech4GT <varun.gupta1798@gmail.com>

* add test and refactor

Signed-off-by: tech4GT <varun.gupta1798@gmail.com>

* update demo

Signed-off-by: tech4GT <varun.gupta1798@gmail.com>

* fix comma issue

Signed-off-by: tech4GT <varun.gupta1798@gmail.com>

* update test

Signed-off-by: tech4GT <varun.gupta1798@gmail.com>

* now doing with native encode

Signed-off-by: tech4GT <varun.gupta1798@gmail.com>
This commit is contained in:
Varun Gupta
2018-06-03 21:41:07 +05:30
committed by Jeffrey Warren
parent ac183205f0
commit 871453b857
6 changed files with 180 additions and 104 deletions

View File

@@ -102,10 +102,10 @@ function DefaultHtmlStepUi(_sequencer, options) {
step.options[$(input).attr("name")] = input.value;
});
_sequencer.run();
// modify the url hash
setUrlHashParameter("steps", _sequencer.toString());
}
saveOptions();
// on clicking Save in the details pane of the step
$(step.ui.querySelector("div.details .btn-save")).click(saveOptions);
}