oxen_printer 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a918cf905652b41bc32adc6d0c5d3221ad81e99
|
4
|
+
data.tar.gz: 9457bafe60e2d9d7b3e8bcbaaffcfef1d75b5b53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 651448244cd3d40400babf94b94ad19ad962edde48c1740dd74f3dfa91c9aefca48d5281b725bd97e1c36662207b38e611cf4b6ce24b3b0c6b6954be8e84feab
|
7
|
+
data.tar.gz: 05637d38f7738235bc87e5b76ab1e6981ab0a25ecfa59b850edf7e0033116d41c44947c77f33f3b907a06f636f66a170881d3462b402f3a73643616aad54c67e
|
@@ -111,11 +111,15 @@ class @PrintPrompt extends React.Component
|
|
111
111
|
arg = wrl.split("?")[1] + "&"
|
112
112
|
else
|
113
113
|
w = wrl + "/print"
|
114
|
-
arg = "&collation=#{@state.collation}&template=#{@state.template}&paper=#{@state.paper}"
|
114
|
+
arg = arg + "&collation=#{@state.collation}&template=#{@state.template}&paper=#{@state.paper}"
|
115
115
|
@form = $('#print-dialog form')
|
116
|
-
console.log @form.find('#display').checked
|
117
|
-
return
|
118
116
|
@setState {wurl: w, args: arg}, () =>
|
117
|
+
if $('input[name="print[medium]"]:checked').val()=="display"
|
118
|
+
@animatePrint()
|
119
|
+
$("#print-dialog").closeModal()
|
120
|
+
window.open @state.wurl + "?" + @form.serialize() + '&' + @state.args
|
121
|
+
return
|
122
|
+
|
119
123
|
jqxhr = $.ajax
|
120
124
|
url: @state.wurl
|
121
125
|
method: "GET"
|
data/lib/oxen_printer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oxen_printer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Walther H Diechmann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oxen_job
|