equal
deleted
inserted
replaced
126 is_private: $('#gorilla_private:checked').val() ? true : false, |
126 is_private: $('#gorilla_private:checked').val() ? true : false, |
127 nick: $('#gorilla_nick').val(), |
127 nick: $('#gorilla_nick').val(), |
128 title: $('#gorilla_title').val(), |
128 title: $('#gorilla_title').val(), |
129 ttl: parseInt($('.gorilla_ttl:checked').val()), |
129 ttl: parseInt($('.gorilla_ttl:checked').val()), |
130 parent: parent, |
130 parent: parent, |
131 hash: $('#gorilla_hash').val(); |
131 hash: $('#gorilla_hash').val() |
132 }; |
132 }; |
133 json_packet = ajaxEscape(toJSONString(json_packet)); |
133 json_packet = ajaxEscape(toJSONString(json_packet)); |
134 ajaxPost(makeUrlNS('Special', 'NewPaste/ajaxsubmit'), 'r=' + json_packet, function(ajax) |
134 ajaxPost(makeUrlNS('Special', 'NewPaste/ajaxsubmit'), 'r=' + json_packet, function(ajax) |
135 { |
135 { |
136 if ( ajax.readyState == 4 && ajax.status == 200 ) |
136 if ( ajax.readyState == 4 && ajax.status == 200 ) |