2 Replies Latest reply on Nov 22, 2010 5:16 PM by Lichtzeichenanlage

    Can anyone confirm that LrDialogs.promptForActionWithDoNotShow is buggy

    Lichtzeichenanlage Level 1

      Hi,

       

      can anyone confirm that the first code fails and the second not?

       

      rgds - LZA

       

      LrTasks.startAsyncTask(
           function()     local result = LrDialogs.promptForActionWithDoNotShow(
                {
                     message = "Warning",
                     info = "Info",
                     actionPrefKey = 'lzaIgnoreVersionWarnings',
                     verbBtns = { { label = "OK", value = "OK" } },
                }
           )
      
           end
      )
      
       
      

       

      LrTasks.startAsyncTask(
           function()     local result = LrDialogs.promptForActionWithDoNotShow(
                {
                     message = "Warning",
                     info = "Info",
                     actionPrefKey = 'lzaIgnoreVersionWarnings',
                     verbBtns = { { label = "OK", value = "OK" } },
                }
           )
      
           end
      )