Sha256: f615654a8c230a61007cc49697e77e5e3482da01b9ae7dfa22107b87d6678a5b

Contents?: true

Size: 691 Bytes

Versions: 2

Compression:

Stored size: 691 Bytes

Contents

#create a new note
  def sagdialogmapcreatenewnote
  
  @rwd_call_after_back << "rwddialogmapreloadtab"
    if  @sagdialogmaprecordsresulth == nil
      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

2 entries across 2 versions & 2 rubygems

Version Path
rwddialogmap-0.02 code/superant.com.dialogmap/createnewnote.rb
rwdhypernote-0.16 code/superant.com.dialogmap/createnewnote.rb