为什么jquery运行确认两次?

时间:2016-10-09 14:30:17

标签: jquery ajax confirm

任何想法,为什么确认会运行两次?

这里我调用函数editTableDelete:

model = Sequential()
model.add(Convolution2D(32, 3, 3, border_mode=borderMode, init=initialization,  input_shape=(48, 48, 3)))
model.add(BatchNormalization())
model.add(PReLU())
model.add(MaxPooling2D(pool_size=(2, 2)))

model.add(Flatten())
model.add(Dense(256))
model.add(BatchNormalization())
model.add(PReLU())
model.add(Dropout(0.5))

model.add(Dense(nb_output))
model.add(Activation('softmax'))

这是函数editTableDelete:

    Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
    intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
    intent.putExtra(RecognizerIntent.EXTRA_PROMPT, "Send to server");
    startActivityForResult(intent, SPEECH_REQUEST_CODE);

如果我运行脚本,它让我确认一次,在确认之后,第二个确认框带有相同的条目。为什么呢?

非常感谢!

0 个答案:

没有答案