mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-11 19:00:00 +01:00
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:
committed by
Jeffrey Warren
parent
ac183205f0
commit
871453b857
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user