Comment #4 on issue 794 by Can not add screenshot

In common.js, it looks like the formDlg function was never finished. The  
rbApiCall gets called with 'data' not set.

  * Sends the form data to the server.
function send() {
if(console) console.log("in send", options);
         path: options.path,
         buttons: $("input", self.modalBox("buttons")),
         errorPrefix: "Saving the form failed due to a server error:",
         success: function(rsp) {
if(console) console.log("in send success", rsp);


function rbApiCall(options) {
     if (options.buttons) {
         options.buttons.attr("disabled", true);

         type: options.type || "POST",
         url: options.url || (SITE_ROOT + "api/json" + options.path),
         data: || {dummy: ""},
         dataType: options.dataType || "json",
         success: options.success,
         error: function(xhr, textStatus, errorThrown) {

You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to