Sha256: b4939afa9dac6cf3db2d543c3edc32ba91dcb9a4fd9e45fffaa5326b99bc1869

Contents?: true

Size: 693 Bytes

Versions: 1

Compression:

Stored size: 693 Bytes

Contents

#create a new note
  def sagdialogmapcreatenewnote
  
  @rwd_call_after_back << "rwddialogmapreloadtab"
    if  @sagdialogmaprecordsresulth .empty?
      newnotecontent =  'new note'
    else
      newnotecontent = @sagdialogmaprecordsresulth.to_s
    end
    if  @a_viewdialogmaphtml.empty?
      newnotefilename = "newnote.txt"
    else
      newnotefilename = @a_viewdialogmaphtml.to_s 
    end
    
  $reloadaftercreate = true
    download("#{newnotecontent}", "#{newnotefilename}")
   
    end
    
def rwddialogmapreloadtab
 
      if  $reloadaftercreate
                  @rwd_tab = "superantcomeditnoterecordfile"

                    $reloadaftercreate = false
     end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rwddialogmap-0.01 code/superant.com.dialogmap/createnewnote.rb